about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-07 03:37:01 +0200
committerGitHub <noreply@github.com>2019-07-07 03:37:01 +0200
commit406b46395d6f79e87b286585f6b6867374d198c1 (patch)
treef2a92d6c5e2b5ce16f4fa70ce7cf791feaa49671 /app/lib
parent58276715be8a7e6b518ebd33cd2d4fd82ae81b2c (diff)
Fix URLs appearing twice in errors of ActivityPub::DeliveryWorker (#11231)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/request.rb b/app/lib/request.rb
index 5f7075a3c..322457ad7 100644
--- a/app/lib/request.rb
+++ b/app/lib/request.rb
@@ -59,7 +59,7 @@ class Request
     begin
       response = http_client.public_send(@verb, @url.to_s, @options.merge(headers: headers))
     rescue => e
-      raise e.class, "#{e.message} on #{@url}", e.backtrace[0]
+      raise e.class, "#{e.message} on #{@url}", e.backtrace
     end
 
     begin