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

JSON parse exception handling #81

Merged
merged 2 commits into from
Aug 9, 2016
Merged

Conversation

jquatier
Copy link
Owner

@jquatier jquatier commented Aug 9, 2016

In the edge case where missing or bad JSON is returned from the server, we can make the client a little more resilient and return a better error. Right now an uncaught exception is thrown. We already check for a 200 status, but it could still happen (and this did get reported to me over email).

@coveralls
Copy link

coveralls commented Aug 9, 2016

Coverage Status

Coverage increased (+0.04%) to 94.265% when pulling 663d4c9 on feature/json-exception-handling into 957e761 on master.

@jquatier jquatier merged commit 89c8021 into master Aug 9, 2016
@jquatier jquatier deleted the feature/json-exception-handling branch January 13, 2017 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants