Fix PuSH workers (#6200)

pull/6194/merge v2.1.2
ThibG 2018-01-05 23:04:35 +01:00 committed by Eugen Rochko
parent a594139115
commit 10f6793fd0
1 changed files with 1 additions and 1 deletions

View 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