Don't error out when invalid urls are entered

This commit is contained in:
Mouse Reeve 2021-06-20 09:13:57 -07:00
parent e03b8ef2cd
commit 95a19a44f8

View file

@ -237,7 +237,7 @@ def get_data(url, params=None, timeout=10):
}, },
timeout=timeout, timeout=timeout,
) )
except (RequestError, SSLError, ConnectionError) as err: except (RequestError, SSLError, requests.ConnectionError, ConnectionError) as err:
logger.exception(err) logger.exception(err)
raise ConnectorException() raise ConnectorException()