No commit activity in last 3 years
No release in over 3 years
delayed_job exception notification with airbrake
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Delayed::Plugins::Airbrake

Currently maintained by @ndbroadbent. Many thanks!

delayed_job exception notification with Airbrake

Originally based on this gist and this StackOverflow answer.

Installation

Add this line to your application's Gemfile:

gem 'delayed-plugins-airbrake'

Usage

Register the plugin like so:

require 'delayed-plugins-airbrake'
Delayed::Worker.plugins << Delayed::Plugins::Airbrake::Plugin

In a Rails project, this can be done in config/initializers.

System Integration Testing

A test class is provided. It can easily be run from your app's console, etc.

Delayed::Plugins::Airbrake::Bomb.delay.blow_up

This raises an exception in delayed_job which should show up in Airbrake (if everything is set up correctly :) ).

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request