Skip to content

Commit 295f5ab

Browse files
committed
Use notify_or_ignore for the hoptoad failure backend
Hoptoad can be configured with a set of exceptions to ignore. However, those exceptions are not ignored when using Hoptoad.notify alone; Hoptoad.notify_or_ignore must be used.
1 parent cd0f191 commit 295f5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/failure/hoptoad.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def self.count
2727
end
2828

2929
def save
30-
HoptoadNotifier.notify(exception,
30+
HoptoadNotifier.notify_or_ignore(exception,
3131
:parameters => {
3232
:payload_class => payload['class'].to_s,
3333
:payload_args => payload['args'].inspect

0 commit comments

Comments
 (0)