Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (17 sloc) 0.575 kB
dc246c0 @hmarr Initial commit
hmarr authored
1 # resque-sentry
2
3 A Resque failure backend that sends errors to [Sentry](https://getsentry.com).
4
5 ### Installation
6
7 ```console
8 $ gem install resque-sentry
9 ```
10
11 ### Usage
12
13 Add the following to an initializer:
14
15 ```ruby
01ee6a3 @mkenyon Add additional require statements to README
mkenyon authored
16 require 'resque/failure/multiple'
17 require 'resque/failure/redis'
dc246c0 @hmarr Initial commit
hmarr authored
18 require 'resque-sentry'
19
75f0ffd @twelvelabs support custom logger value
twelvelabs authored
20 # [optional] custom logger value to use when sending to Sentry (default is 'root')
21 Resque::Failure::Sentry.logger = "resque"
22
dc246c0 @hmarr Initial commit
hmarr authored
23 Resque::Failure::Multiple.classes = [Resque::Failure::Redis, Resque::Failure::Sentry]
24 Resque::Failure.backend = Resque::Failure::Multiple
25 ```
26
Something went wrong with that request. Please try again.