From: ThibG Date: Fri, 5 Jan 2018 22:04:35 +0000 (+0100) Subject: Fix PuSH workers (#6200) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=10f6793fd0af3690a37c868b7bb4418418dc3a7a;p=mastodon.git Fix PuSH workers (#6200) --- diff --git a/app/workers/pubsubhubbub/subscribe_worker.rb b/app/workers/pubsubhubbub/subscribe_worker.rb index e350973e1..2e176d1c1 100644 --- 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