Check if a book is already shelved after import
This commit is contained in:
parent
3344eed3b9
commit
8c8aae2c92
2 changed files with 13 additions and 11 deletions
|
@ -205,7 +205,7 @@ def get_data(url):
|
|||
'User-Agent': settings.USER_AGENT,
|
||||
},
|
||||
)
|
||||
except RequestError:
|
||||
except (RequestError, SSLError):
|
||||
raise ConnectorException()
|
||||
if not resp.ok:
|
||||
resp.raise_for_status()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue