Skip to content

Commit 76bec5f

Browse files
authored
Merge pull request #132 from sommersoft/core_dl_stats_fail_graceful
Daily Report: Handle Core Download Stats Request Failure
2 parents 9285822 + f4c5bc0 commit 76bec5f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adabot/circuitpython_libraries.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,10 @@ def print_circuitpython_download_stats():
282282
"""Gather and report analytics on the main CircuitPython repository."""
283283
response = github.get("/repos/adafruit/circuitpython/releases")
284284
if not response.ok:
285-
output_handler("Core CircuitPython GitHub analytics request failed.")
285+
output_handler(
286+
"Core CircuitPython GitHub download statistics request failed."
287+
)
288+
return
286289
releases = response.json()
287290

288291
found_unstable = False

0 commit comments

Comments
 (0)