Skip to content

Fix incorrect exception catching of json responses#988

Merged
james-panayis merged 1 commit into
devfrom
james/fix_JSONDecodeError_checking
Jun 29, 2026
Merged

Fix incorrect exception catching of json responses#988
james-panayis merged 1 commit into
devfrom
james/fix_JSONDecodeError_checking

Conversation

@james-panayis

Copy link
Copy Markdown
Collaborator

Python Version(s) Tested: 3.12.11

Operating System(s): Ubuntu

📝 Summary

This caused issues when simplejson happened to be present, as this makes requests change its exception inheritance structure

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.

This caused issues when simplejson happened to be present, as this makes
requests change its exception inheritance structure

@wk9874 wk9874 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, so long as CI passes

@james-panayis james-panayis merged commit 4c43874 into dev Jun 29, 2026
22 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