Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle_errors should handle non-JSON error responses #19

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

nealrichardson
Copy link
Collaborator

Was poking around the API and ran into an issue where responses with status >400 that didn't return a JSON body would error on trying to parse JSON and not show the error with the request itself.

@tdstein tdstein merged commit 0a0d3fa into main Feb 15, 2024
5 checks passed
@nealrichardson nealrichardson deleted the general-http-errors branch February 15, 2024 18:18
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