Skip to content

Instantly share code, notes, and snippets.

@apeckham
Created July 7, 2010 03:50
Show Gist options
  • Save apeckham/466275 to your computer and use it in GitHub Desktop.
Save apeckham/466275 to your computer and use it in GitHub Desktop.
class Delayed::Worker
def handle_failed_job_with_hoptoad(job, error)
HoptoadNotifier.notify(error)
handle_failed_job_without_hoptoad(job, error)
end
alias_method_chain :handle_failed_job, :hoptoad
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment