lib/rdstation/error_handler.rb in rdstation-ruby-client-2.8.1 vs lib/rdstation/error_handler.rb in rdstation-ruby-client-2.8.2

- old
+ new

@@ -52,10 +52,10 @@ def response_errors JSON.parse(response.body) end def error_formatter - @error_formatter = RDStation::Error::Formatter.new(response_errors) + @error_formatter = RDStation::Error::Formatter.new(response_errors, response.headers) end def additional_error_attributes attrs = { 'headers' => response.headers,