diff options
author | Daigo 3 Dango <zunda@users.noreply.github.com> | 2017-09-23 23:14:06 -1000 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-24 11:14:06 +0200 |
commit | a0bbeafb045441543f7bb9f959e7af184550f7d3 (patch) | |
tree | ac06726e1a62941bc080f6ddbe57ad3d47dbc5c3 /app/workers/activitypub | |
parent | 2f079573ed6aed9f27ece623c56a61c8e036574e (diff) |
Suppress backtrace when failed to communicate with a remote instance (#5076)
Diffstat (limited to 'app/workers/activitypub')
-rw-r--r-- | app/workers/activitypub/delivery_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/activitypub/delivery_worker.rb b/app/workers/activitypub/delivery_worker.rb index cd67b6710..a4e829343 100644 --- a/app/workers/activitypub/delivery_worker.rb +++ b/app/workers/activitypub/delivery_worker.rb @@ -16,7 +16,7 @@ class ActivityPub::DeliveryWorker raise Mastodon::UnexpectedResponseError, @response unless response_successful? rescue => e - raise e.class, "Delivery failed for #{inbox_url}: #{e.message}" + raise e.class, "Delivery failed for #{inbox_url}: #{e.message}", e.backtrace[0] end private |