From c711c06bb8a0df4feebb25b98c866a0f06b25f5d Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 14 Aug 2015 12:51:23 +1000 Subject: [PATCH] FIX: stop double reporting errors that were already reported --- config/initializers/sidekiq.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 2d634e49e8d..7a5781f1462 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -45,6 +45,9 @@ Sidekiq.logger.level = Logger::WARN class SidekiqLogsterReporter < Sidekiq::ExceptionHandler::Logger def call(ex, context = {}) + + return if Jobs::HandledExceptionWrapper === ex + # Pass context to Logster fake_env = {} context.each do |key, value|