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

Stop hiding HTTP status codes #70

Open
MarkBird opened this issue Dec 16, 2020 · 1 comment
Open

Stop hiding HTTP status codes #70

MarkBird opened this issue Dec 16, 2020 · 1 comment

Comments

@MarkBird
Copy link

If the API returns a status code beginning 4, the library raises a ClientError.
If it returns a status code beginning 5, the library raises a ServerError.

Why is it not including the HTTP status code in the error?? It's impossible to see what the actual error was if you just return an empty exception with literally no information in it.

@perfectra1n
Copy link

This library is just overengineered for no reason. Classes everywhere, my head is just spinning for something so simple.

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

No branches or pull requests

2 participants