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

Change caught httpx error type #208

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

flacjacket
Copy link
Collaborator

Change to catch the top level httpx exception. The current exception type will catch some request errors (eg timeouts) but will not catch http status errors (eg 500 errors). Changing the error type here will allow users to more easily handle spurious errors of this type.

@flacjacket flacjacket merged commit 03fe45d into tchellomello:master Mar 12, 2022
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.

1 participant