Skip to content

Commit

Permalink
Merge pull request #132 from sommersoft/core_dl_stats_fail_graceful
Browse files Browse the repository at this point in the history
Daily Report: Handle Core Download Stats Request Failure
  • Loading branch information
tannewt committed Jan 28, 2020
2 parents 9285822 + f4c5bc0 commit 76bec5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adabot/circuitpython_libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,10 @@ def print_circuitpython_download_stats():
"""Gather and report analytics on the main CircuitPython repository."""
response = github.get("/repos/adafruit/circuitpython/releases")
if not response.ok:
output_handler("Core CircuitPython GitHub analytics request failed.")
output_handler(
"Core CircuitPython GitHub download statistics request failed."
)
return
releases = response.json()

found_unstable = False
Expand Down

0 comments on commit 76bec5f

Please sign in to comment.