diff --git a/stockcli/utils.py b/stockcli/utils.py --- a/stockcli/utils.py +++ b/stockcli/utils.py @@ -21,8 +21,12 @@ def make_request(method: str, url_path: try: if data is not None: + logging.debug( + f"Making {method.upper()} request: {requested_url} with {data}" + ) response = method_function(session)(requested_url, json=data) else: + logging.debug(f"Making {method.upper()} request: {requested_url}") response = method_function(session)(requested_url) response.raise_for_status() except requests.Timeout: