A Resque failure backend that sends errors to Sentry
Ruby
Switch branches/tags
Latest commit 4274ff8 Sep 15, 2014 @greysteil greysteil Merge pull request #6 from mkenyon/patch-1
Add additional require statements to README
Permalink
Failed to load latest commit information.
lib
spec Send class and arguments in context Dec 13, 2013
.gitignore Initial commit Jun 18, 2012
Gemfile Initial commit Jun 18, 2012
LICENSE Initial commit Jun 18, 2012
README.md
resque-sentry.gemspec Bump version to 1.2.0 Mar 20, 2014

README.md

resque-sentry

A Resque failure backend that sends errors to Sentry.

Installation

$ gem install resque-sentry

Usage

Add the following to an initializer:

require 'resque/failure/multiple'
require 'resque/failure/redis'
require 'resque-sentry'

# [optional] custom logger value to use when sending to Sentry (default is 'root')
Resque::Failure::Sentry.logger = "resque"

Resque::Failure::Multiple.classes = [Resque::Failure::Redis, Resque::Failure::Sentry]
Resque::Failure.backend = Resque::Failure::Multiple