0
0
Fork 0

Suppress backtrace when failed to communicate with a remote instance (#5076)

This commit is contained in:
Daigo 3 Dango 2017-09-23 23:14:06 -10:00 committed by Eugen Rochko
parent 2f079573ed
commit a0bbeafb04
3 changed files with 3 additions and 3 deletions

View file

@ -29,6 +29,6 @@ class Pubsubhubbub::SubscribeWorker
logger.debug "PuSH re-subscribing to #{account.acct}"
::SubscribeService.new.call(account)
rescue => e
raise e.class, "Subscribe failed for #{account&.acct}: #{e.message}"
raise e.class, "Subscribe failed for #{account&.acct}: #{e.message}", e.backtrace[0]
end
end