getsentry/raven-ruby — pull request #111 by BRMatt (2013-06-21 13:50:50+00:00)
Title: Add support for tracking errors raised in Rake tasks

Airbrake handles this [by monkey patching Rake.application](https://github.com/airbrake/airbrake/blob/master/lib/airbrake/rake_handler.rb) to forward the exception to their server when it's displayed.