Merge pull request #633 from mouse-reeve/overzealous-logging

way too much logging coming from http errors
This commit is contained in:
Mouse Reeve 2021-02-22 12:29:19 -08:00 committed by GitHub
commit 27d81306e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,10 +216,6 @@ def get_data(url):
raise ConnectorException()
if not resp.ok:
try:
resp.raise_for_status()
except requests.exceptions.HTTPError as e:
logger.exception(e)
raise ConnectorException()
try:
data = resp.json()