mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
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
Block a user