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

Return proper error for error HTTP response #25

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

szymansd
Copy link
Contributor

Hi,
I believe that this package should throw proper error when error HTTP status is returned from API. This will improve ability to distinguish and manage issues on the developer end.

@gfairchild
Copy link
Collaborator

Nice! Thanks for the PR. I've used requests for years, and somehow I didn't know that this method existed.

Merging, and I'll see about pushing to pip soon.

@gfairchild gfairchild merged commit 9c4d64f into lanl:master Oct 10, 2023
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