lib/adyen/rest/client.rb in adyen_jpiqueras-2.4.0 vs lib/adyen/rest/client.rb in adyen_jpiqueras-2.5.0

- old
+ new

@@ -107,10 +107,10 @@ when Net::HTTPUnprocessableEntity, Net::HTTPInternalServerError raise Adyen::REST::ResponseError.new(response.body) when Net::HTTPUnauthorized raise Adyen::REST::Error.new("Webservice credentials are incorrect") else - raise Adyen::REST::Error.new("Unexpected HTTP response code: #{response.code} | response body: #{response.body}") + raise Adyen::REST::Error.new("Unexpected HTTP response code: #{response.code} | request path: #{request.path} | response body: #{response.body}") end end # The endpoint URI for this client. # @return [URI] The endpoint to use for the environment.