-
Notifications
You must be signed in to change notification settings - Fork 8
Issues/11 #12
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
Conversation
Conflicts: maxcdn/maxcdn.py test/test.py
|
Thanks for looking into this. I like the idea of throwing a ServerError or something if the response status code is not in the 2xx range, packaging the raw response inside. |
|
I like that idea. Just to be clear, you're suggesting added an additional property to the Exception, something like |
|
Yup, That and some explicit exception type that we can catch that
|
|
@kdmny Let me know what you think of the Here's a basic example with a forced 404: Here's a basic example with a forced |
|
@kdmny Unless you or anyone else has any issue with it, I'll release this as |
Addressing issue #11, sort of. Adding more verbose error messaging.