Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add the ability to pass XML directly to send_to_airbrake #124
Currently you have to serialize the data, pass it to Resque, unserialize it, pass it to send_to_airbrake, which then immediately serializes it again as XML.
Letting people serialize it to XML ahead of time simplifies setting up async reporting and reduces the chance that another error will occur when trying to send a report about the original error.
The only real difference is that if you pass XML, it will now dump XML if Airbrake gets an HTTP error from sending the request, it will dump the XML rather than pretty printed.