diff --git a/src/tap_apple_search_ads/api/utils.py b/src/tap_apple_search_ads/api/utils.py index eccafd8..f00e981 100644 --- a/src/tap_apple_search_ads/api/utils.py +++ b/src/tap_apple_search_ads/api/utils.py @@ -6,8 +6,8 @@ def check_response(response: requests.Response) -> bool: if response.status_code != 200: - message = "Received non-200 response code ([%s])" - logger.error(message, response.status_code) + message = "Received non-200 response code ([%s]) for URL %s" + logger.error(message, response.status_code, response.url) logger.error("Response content: [%s]", response.text) raise RuntimeError(message % response.status_code)