Skip to content

Commit

Permalink
print in addition to logger.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Sep 30, 2024
1 parent ce688fa commit 5828b36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions adabot/github_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ def request(method, url, **kwargs):
f"{'(cache)' if from_cache else '(%d remaining)' % remaining}",
response.status_code,
)
print(
"GET %s %s status=%s",
url,
f"{'(cache)' if from_cache else '(%d remaining)' % remaining}",
response.status_code,
)
except requests.RequestException:
exception_text = traceback.format_exc()
if "ADABOT_GITHUB_ACCESS_TOKEN" in os.environ:
Expand Down

0 comments on commit 5828b36

Please sign in to comment.