Skip to content

Commit

Permalink
Use notify_or_ignore for the hoptoad failure backend
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
raykrueger committed May 11, 2011
1 parent cd0f191 commit 295f5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/failure/hoptoad.rb
Expand Up @@ -27,7 +27,7 @@ def self.count
end

def save
HoptoadNotifier.notify(exception,
HoptoadNotifier.notify_or_ignore(exception,
:parameters => {
:payload_class => payload['class'].to_s,
:payload_args => payload['args'].inspect
Expand Down

0 comments on commit 295f5ab

Please sign in to comment.