diff --git a/depicts/wd_catalog.py b/depicts/wd_catalog.py index 1e2dbc4..fea312f 100644 --- a/depicts/wd_catalog.py +++ b/depicts/wd_catalog.py @@ -192,7 +192,9 @@ def get_catalog_from_painting(entity): try: check_catalog(entity, catalog) - except requests.exceptions.ReadTimeout: + except (requests.exceptions.ReadTimeout, + requests.exceptions.ConnectTimeout, + requests.exceptions.ConnectionError): pass return catalog