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

Commit

Permalink
Merge pull request #3 from miyucy/fix-argument-mismatch
Browse files Browse the repository at this point in the history
fix mismatch argument.
  • Loading branch information
hmarr committed Sep 11, 2013
2 parents ab2c459 + 600f1cd commit 8d5f65e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/resque/failure/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ def save
Raven.capture_exception(exception, options)
end

def self.count
def self.count(queue = nil, class_name = nil)
# We can't get the total # of errors from Sentry so we fake it by
# asking Resque how many errors it has seen.
Stat[:failed]
end
end
end
end

0 comments on commit 8d5f65e

Please sign in to comment.