aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-01-05 23:04:35 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-01-05 23:04:35 +0100
commit10f6793fd0af3690a37c868b7bb4418418dc3a7a (patch)
treec99ff729225832e3409d3562b9d68ecb9d64f132
parenta594139115b3e9d07ccf70972c5ede101e5a14e4 (diff)
downloadmastodon-2.1.2.tar
mastodon-2.1.2.tar.gz
mastodon-2.1.2.tar.bz2
mastodon-2.1.2.zip
Fix PuSH workers (#6200)v2.1.2
-rw-r--r--app/workers/pubsubhubbub/subscribe_worker.rb2
1 files changed, 1 insertions, 1 deletions
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