about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorDaigo 3 Dango <zunda@users.noreply.github.com>2017-10-01 15:02:08 -1000
committerEugen Rochko <eugen@zeonfederated.com>2017-10-02 03:02:08 +0200
commit01d6aa0397290f93828713cdb40f261310cedb42 (patch)
tree8350ed465e356b0468e336daeb22a3064d376582 /app/lib
parentc567c874537b733a3e15625ad01eb0ae0ced8f4e (diff)
Suppress backtrace from Request#perform (#5174)
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 61311df6e..30ea0e7ee 100644
--- a/app/lib/request.rb
+++ b/app/lib/request.rb
@@ -32,7 +32,7 @@ class Request
   def perform
     http_client.headers(headers).public_send(@verb, @url.to_s, @options)
   rescue => e
-    raise e.class, "#{e.message} on #{@url}"
+    raise e.class, "#{e.message} on #{@url}", e.backtrace[0]
   end
 
   def headers