airbrake/airbrake — pull request #123 by zanker (2012-09-13 05:17:41+00:00)
Title: Allow XML to be passed to send_to_airbrake

This makes it so you can just pass XML to `send_to_airbrake` for Resque and other non-marshaling background workers.

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.