]> cat aescling's git repositories - mastodon.git/commitdiff
Fix PuSH workers (#6200)
authorThibG <thib@sitedethib.com>
Fri, 5 Jan 2018 22:04:35 +0000 (23:04 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 5 Jan 2018 22:04:35 +0000 (23:04 +0100)
app/workers/pubsubhubbub/subscribe_worker.rb

index e350973e1e935e49b4a73e8f03dcc053dd891e99..2e176d1c106f3d8f7a8f5d8de8ec56c89b6bd49e 100644 (file)
@@ -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