Catch and ignore more catalog exceptions
This commit is contained in:
parent
7a4af12f3f
commit
db0eda0abf
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue