Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Improve output when receiving non-JSON from server #46

Merged
merged 1 commit into from Sep 23, 2012

Conversation

Projects
None yet
2 participants
Contributor

privman commented Sep 20, 2012

I'm getting exceptions, apparently caused by the server returning non-JSON responses. In order to figure the root cause I need to see what the server's response is (I imagine it's a human-readable string describing the auth/connectivity/whatever issue).
This fix adds the raw response to the error output so that it's available post-mortem.

@norlin norlin pushed a commit that referenced this pull request Sep 23, 2012

Alexey Merge pull request #46 from privman/master
Improve output when receiving non-JSON from server
3377868

@norlin norlin merged commit 3377868 into felixge:master Sep 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment