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 github-actions[bot] committed Feb 28, 2022
1 parent 26f0125 commit bcf7a05
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 bcf7a05

Please sign in to comment.