Skip to content

Commit

Permalink
remove quiet, add prints
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Sep 30, 2024
1 parent a090b3d commit 34a325d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adabot/arduino_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ def main(verbosity=1, output_file=None): # pylint: disable=missing-function-doc
run_arduino_lib_checks()
except:
_, exc_val, exc_tb = sys.exc_info()
logger.error("Exception Occurred!", quiet=True)
logger.error(("-" * 60), quiet=True)
logger.error("Exception Occurred!")
logger.error(("-" * 60))
logger.error("Traceback (most recent call last):")
trace = traceback.format_tb(exc_tb)
for line in trace:
Expand Down
2 changes: 2 additions & 0 deletions adabot/github_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def request(method, url, **kwargs):
_fix_url(url), timeout=TIMEOUT, **_fix_kwargs(kwargs)
)
from_cache = getattr(response, "from_cache", False)
print(f"headers: {response.headers}")
print(f"content: {response.content}")
remaining = int(response.headers.get("X-RateLimit-Remaining", 0))
logging.debug(
"GET %s %s status=%s",
Expand Down

0 comments on commit 34a325d

Please sign in to comment.