Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
srijan55 committed Oct 4, 2024
1 parent 96d3225 commit 7be5c80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pctasks/client/pctasks/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ def do_request() -> requests.Response:
params=params,
**kwargs,
)
logger.debug(f"API request: {method} {url}")
logger.debug(f"API response: {resp.status_code}")
logger.debug(f"API response: {resp.text}")
resp.raise_for_status()
return resp

Expand Down

0 comments on commit 7be5c80

Please sign in to comment.