lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.44.0
- old
+ new
@@ -117,10 +117,9 @@
)
else
build_error_response(message, response)
end
rescue ResponseError => e
- raw_response = e.response.body
build_error_response("ssl_post() with url #{url} raised ResponseError: #{e}")
rescue JSON::ParserError => e
msg = 'Invalid response received from the Swipe Checkout API. ' +
'Please contact support@optimizerhq.com if you continue to receive this message.' +
" (Full error message: #{e})"