Shopify/offsite_payments — pull request #57 by celsodantas (2014-06-26 15:06:40+00:00)
Title: catching invalid xml parsing and raising with it's content

and my love for PagSeguro continues...
@odorcicd @bslobodin

This will catch and raise the XML parse error with the content of the request (something we are not seeing in our logs).

I'm catching `=> e` because we use a different XML parser in Shopify `REXML vs Nokogiri`. ActiveSupport makes `Hash.from_xml` to use Nokorigi. Maybe we should do the same but without adding `active_support`?