From 812c1dc0bd4f9bce8526c45ca227a86b4a66b57a Mon Sep 17 00:00:00 2001 From: Aaron Ackerman Date: Sat, 9 Nov 2013 21:48:54 -0600 Subject: [PATCH] Fix method name collision between Sidekiq::Fetcher and Sidekiq::ExceptionHandler --- lib/sidekiq/fetch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sidekiq/fetch.rb b/lib/sidekiq/fetch.rb index 2e3a787b..caa21629 100644 --- a/lib/sidekiq/fetch.rb +++ b/lib/sidekiq/fetch.rb @@ -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|