Catch and ignore more catalog exceptions
This commit is contained in:
parent
7a4af12f3f
commit
db0eda0abf
|
@ -192,7 +192,9 @@ def get_catalog_from_painting(entity):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
check_catalog(entity, catalog)
|
check_catalog(entity, catalog)
|
||||||
except requests.exceptions.ReadTimeout:
|
except (requests.exceptions.ReadTimeout,
|
||||||
|
requests.exceptions.ConnectTimeout,
|
||||||
|
requests.exceptions.ConnectionError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return catalog
|
return catalog
|
||||||
|
|
Loading…
Reference in a new issue