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

Make exception logging simpler #21

Open
coxley opened this issue Mar 10, 2016 · 1 comment
Open

Make exception logging simpler #21

coxley opened this issue Mar 10, 2016 · 1 comment

Comments

@coxley
Copy link
Owner

coxley commented Mar 10, 2016

Instead of inspecting the body of the message, simple return e.response.json() as part of it

@coxley
Copy link
Owner Author

coxley commented Mar 10, 2016

Ideas:

  • Check for availability of e.response.json() and fallback to e.response.reason

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

1 participant