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

capture :status_code and :raw_body #186

Merged
merged 1 commit into from Mar 16, 2016
Merged

capture :status_code and :raw_body #186

merged 1 commit into from Mar 16, 2016

Commits on Mar 15, 2016

  1. capture :status_code and :raw_body

    API request errors are not returning the body of the response when it is not in JSON format. 
    
    I reordered the lines so that the status code and raw body are captured before attempting to parse the json
    Zaid Zawaideh committed Mar 15, 2016
    1
    Copy the full SHA
    5539dae View commit details
    Browse the repository at this point in the history