lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/swipe_checkout.rb in activemerchant-1.87.0

- old
+ new

@@ -115,11 +115,11 @@ build_error_response(message, response) end rescue ResponseError => e 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.' + + 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})" build_error_response(msg) end end end