Skip to content

Instantly share code, notes, and snippets.

@granth
granth / delayed_job_airbrake.rb
Created March 28, 2012 04:54
delayed_job exception notification with airbrake
module Delayed
module Plugins
class Airbrake < Plugin
module Notify
def error(job, error)
::Airbrake.notify_or_ignore(error)
super
end
end

Keybase proof

I hereby claim:

  • I am granth on github.
  • I am granth (https://keybase.io/granth) on keybase.
  • I have a public key ASB_NEH5NkH1XPdv_R8l78hNyhDW6QxriSw6D6QPMXiYRwo

To claim this, I am signing this object: