mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:59:50 +08:00
9fdcdcf58d
We are seeing the following error in our logs when Sidekiq is sent a `USR1` signal in production when logrotate happens: ``` log writing failed. stream closed in another thread Error encountered while starting Sidekiq: can't be called from trap context\n/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/unicorn-6.1.0/lib/unicorn/util.rb:71:in `reopen' ``` I'm not quite sure where the error is triggered from so I'm improving the way we log errors. |
||
---|---|---|
.. | ||
base.rb | ||
email_sync.rb | ||
rails_autospec.rb | ||
sidekiq.rb |