1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix method name collision between Sidekiq::Fetcher and Sidekiq::ExceptionHandler

This commit is contained in:
Aaron Ackerman 2013-11-09 21:48:54 -06:00
parent e58e4593b8
commit 812c1dc0bd

View file

@ -41,13 +41,13 @@ module Sidekiq
after(0) { fetch }
end
rescue => ex
handle_exception(ex)
handle_fetch_exception(ex)
end
end
end
def handle_exception(ex)
def handle_fetch_exception(ex)
if !@down
logger.error("Error fetching message: #{ex}")
ex.backtrace.each do |bt|