Skip to content

Commit

Permalink
make exception finer grained
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored and nyalldawson committed Feb 28, 2022
1 parent 0f98e3c commit 15a2030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/MetaSearch/search_backend.py
Expand Up @@ -159,7 +159,7 @@ class OARecSearch(SearchBase):
def __init__(self, url, timeout, auth):
try:
from owslib.ogcapi.records import Records
except Exception:
except ModuleNotFoundError:
# OWSLIB_OAREC_SUPPORTED already set to False
pass

Expand Down

0 comments on commit 15a2030

Please sign in to comment.