commit: 10f6793fd0af3690a37c868b7bb4418418dc3a7a
parent: a594139115b3e9d07ccf70972c5ede101e5a14e4
Author: ThibG <thib@sitedethib.com>
Date: Fri, 5 Jan 2018 23:04:35 +0100
Fix PuSH workers (#6200)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/workers/pubsubhubbub/subscribe_worker.rb b/app/workers/pubsubhubbub/subscribe_worker.rb
@@ -20,7 +20,7 @@ class Pubsubhubbub::SubscribeWorker
sidekiq_retries_exhausted do |msg, _e|
account = Account.find(msg['args'].first)
- logger.error "PuSH subscription attempts for #{account.acct} exhausted. Unsubscribing"
+ Sidekiq.logger.error "PuSH subscription attempts for #{account.acct} exhausted. Unsubscribing"
::UnsubscribeService.new.call(account)
end