Skip to content

Conversation

@FoamyGuy
Copy link
Contributor

Override response.json() with a version that catches JSON decode errors, logs them, and attempts to continue on.

Depending on which part of the code called json() this could still halt the action, but it seems many places check if "key" in response_data and should be able to continue running in the event of a decode error on a single request in the middle of compiling a report.

Also updated versions of:

  • python in the reports container
  • actions checkout and setup-python

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dhalbert dhalbert merged commit f23c9c4 into adafruit:main Apr 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants