Skip to content

Commit

Permalink
Add more error logging to troubleshoot test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel McKnight committed May 6, 2024
1 parent 56dd92a commit 7ab8513
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neon_api_proxy/services/owm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def handle_query(self, **kwargs) -> dict:
"content": repr(e),
"encoding": None}
if not resp.ok:
LOG.error(f"Bad response code: {resp.status_code}")
LOG.error(f"Bad response code: {resp.status_code}: "
f"content={resp.content}")
return {"status_code": resp.status_code,
"content": resp.content,
"encoding": resp.encoding}
Expand Down

0 comments on commit 7ab8513

Please sign in to comment.