lib/fb_graph/node.rb in fb_graph-2.7.3 vs lib/fb_graph/node.rb in fb_graph-2.7.4

- old
+ new

@@ -148,10 +148,10 @@ end if (200...300).include?(response.status) _response_ else - Exception.handle_httpclient_error(_response_, response.headers) + Exception.handle_structured_response(response.status, _response_, response.headers) end end rescue MultiJson::DecodeError raise Exception.new(response.status, "Unparsable Response: #{response.body}") end