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

debug() when JSON.parse() on a response body fails #1700

Merged
merged 1 commit into from Jul 29, 2015

Commits on Jul 27, 2015

  1. debug() when JSON.parse() on a response body fails.

    Previously JSON.parse() failures was silently ignored.
    Although `response.body` would still contain the invalid JSON response
    body as a string, instead of a JS object, it's valueable to know
    the JSON was invalid while debugging.
    phillipj committed Jul 27, 2015
    Copy the full SHA
    d409a03 View commit details
    Browse the repository at this point in the history