Instagram/instagram-ruby-gem — Issue #22: Better Error Messaging for Instagram::BadRequest 
Author: trafnar
Created: 2011-12-24 01:59:52+00:00
State: open

I had some problems when using get_access_token that resulted in an Instagram::BadRequest exception. It was difficult to debug because the actual error messages from Instagram aren't shown.

The [error_message](https://github.com/Instagram/instagram-ruby-gem/blob/master/lib/faraday/raise_http_4xx.rb#L25) method could be altered to display instagram's response along the lines of "this request is missing a client_id".