diff options
author | ThibG <thib@sitedethib.com> | 2018-01-05 23:04:35 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-05 23:04:35 +0100 |
commit | 10f6793fd0af3690a37c868b7bb4418418dc3a7a (patch) | |
tree | c99ff729225832e3409d3562b9d68ecb9d64f132 /app/workers/pubsubhubbub | |
parent | a594139115b3e9d07ccf70972c5ede101e5a14e4 (diff) |
Fix PuSH workers (#6200)
Diffstat (limited to 'app/workers/pubsubhubbub')
-rw-r--r-- | app/workers/pubsubhubbub/subscribe_worker.rb | 2 |
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 |