diff --git a/lib/sidekiq/processor.rb b/lib/sidekiq/processor.rb index 34a120b0..7c1e841c 100644 --- a/lib/sidekiq/processor.rb +++ b/lib/sidekiq/processor.rb @@ -111,7 +111,7 @@ module Sidekiq if !@down @down = Time.now logger.error("Error fetching job: #{ex}") - handle_exception(ex, {}) + handle_exception(ex) end sleep(1) nil diff --git a/lib/sidekiq/scheduled.rb b/lib/sidekiq/scheduled.rb index 9774c5b6..ccc03d9f 100644 --- a/lib/sidekiq/scheduled.rb +++ b/lib/sidekiq/scheduled.rb @@ -79,7 +79,7 @@ module Sidekiq # Most likely a problem with redis networking. # Punt and try again at the next interval logger.error ex.message - handle_exception(ex, {}) + handle_exception(ex) end end @@ -93,7 +93,7 @@ module Sidekiq # if poll_interval_average hasn't been calculated yet, we can # raise an error trying to reach Redis. logger.error ex.message - handle_exception(ex, {}) + handle_exception(ex) sleep 5 end