DEV: Don't clear sidekiq default error handlers in development. (#14205)
Restores error logs in the development environment.
This commit is contained in:
parent
43f40c3cf5
commit
6e812f30ec
|
@ -111,5 +111,8 @@ class SidekiqLogsterReporter < Sidekiq::ExceptionHandler::Logger
|
|||
end
|
||||
end
|
||||
|
||||
Sidekiq.error_handlers.clear
|
||||
unless Rails.env.development?
|
||||
Sidekiq.error_handlers.clear
|
||||
end
|
||||
|
||||
Sidekiq.error_handlers << SidekiqLogsterReporter.new
|
||||
|
|
Loading…
Reference in New Issue