Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 575 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 575 Bytes

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