chriswarren / desk

A Ruby wrapper for the Desk.com V2 REST API
MIT License
66 stars 80 forks source link

Add check for error response body['raw']['message'] #59

Closed robins35 closed 6 years ago

robins35 commented 9 years ago

This fixed the issue for me, the error_body method in the Faraday module wasn't checking for the env['body']['raw']['message'] field.

chriswarren commented 6 years ago

Closing this since it's pretty old and tests aren't passing. Happy to reopen and discuss finishing it if it's still needed by anyone.