about summary refs log tree commit diff
path: root/app/workers/pubsubhubbub/subscribe_worker.rb
diff options
context:
space:
mode:
authorDaigo 3 Dango <zunda@users.noreply.github.com>2017-09-23 23:14:06 -1000
committerEugen Rochko <eugen@zeonfederated.com>2017-09-24 11:14:06 +0200
commita0bbeafb045441543f7bb9f959e7af184550f7d3 (patch)
treeac06726e1a62941bc080f6ddbe57ad3d47dbc5c3 /app/workers/pubsubhubbub/subscribe_worker.rb
parent2f079573ed6aed9f27ece623c56a61c8e036574e (diff)
Suppress backtrace when failed to communicate with a remote instance (#5076)
Diffstat (limited to 'app/workers/pubsubhubbub/subscribe_worker.rb')
-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 7560c2671..e350973e1 100644
--- a/app/workers/pubsubhubbub/subscribe_worker.rb
+++ b/app/workers/pubsubhubbub/subscribe_worker.rb
@@ -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