lib/bugsnag/api/response/raise_error.rb in bugsnag-api-2.0.2 vs lib/bugsnag/api/response/raise_error.rb in bugsnag-api-2.0.3

- old
+ new

@@ -7,11 +7,9 @@ module Response # This class raises an Bugsnag-flavored exception based # HTTP status codes returned by the API class RaiseError < Faraday::Response::Middleware - - private def on_complete(response) if error = Bugsnag::Api::Error.from_response(response) raise error end end