From 7be5c8028a67b25be92f2d2de6a140b2360bcd2e Mon Sep 17 00:00:00 2001 From: Manish Kumar Gupta Date: Thu, 3 Oct 2024 19:20:09 -0700 Subject: [PATCH] debugging --- pctasks/client/pctasks/client/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pctasks/client/pctasks/client/client.py b/pctasks/client/pctasks/client/client.py index bef17fdf..64250cd4 100644 --- a/pctasks/client/pctasks/client/client.py +++ b/pctasks/client/pctasks/client/client.py @@ -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