lib/graylog2-resque/failure_handler.rb in graylog2-resque-0.5.0 vs lib/graylog2-resque/failure_handler.rb in graylog2-resque-0.5.1
- old
+ new
@@ -61,10 +61,10 @@
end
def self.count
# We can't get the total # of errors from graylog so we fake it
# by asking Resque how many errors it has seen.
- Stat[:failed]
+ ::Resque::Stat[:failed]
end
end
end