FIX: stop double reporting errors that were already reported
This commit is contained in:
parent
723d49d543
commit
c711c06bb8
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue