forked from mirrors/bookwyrm
Don't error out when invalid urls are entered
This commit is contained in:
parent
e03b8ef2cd
commit
95a19a44f8
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ def get_data(url, params=None, timeout=10):
|
|||
},
|
||||
timeout=timeout,
|
||||
)
|
||||
except (RequestError, SSLError, ConnectionError) as err:
|
||||
except (RequestError, SSLError, requests.ConnectionError, ConnectionError) as err:
|
||||
logger.exception(err)
|
||||
raise ConnectorException()
|
||||
|
||||
|
|
Loading…
Reference in a new issue