forked from mirrors/bookwyrm
Merge pull request #633 from mouse-reeve/overzealous-logging
way too much logging coming from http errors
This commit is contained in:
commit
27d81306e3
1 changed files with 1 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue