Skip to content

Conversation

@jjjake
Copy link
Owner

@jjjake jjjake commented Apr 17, 2025

  • Catch all 5xx errors, inside of ArchiveSession.send(), and raise HTTPError with Response.text as message
  • Monkey-patches Response.json, in internetarchive/session.py (used for all requests), to catch all JSONDecodeError's and reraise with Response.text as message

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