diff options
author | Daigo 3 Dango <zunda@users.noreply.github.com> | 2017-10-01 15:02:08 -1000 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-02 03:02:08 +0200 |
commit | 01d6aa0397290f93828713cdb40f261310cedb42 (patch) | |
tree | 8350ed465e356b0468e336daeb22a3064d376582 /app/lib | |
parent | c567c874537b733a3e15625ad01eb0ae0ced8f4e (diff) |
Suppress backtrace from Request#perform (#5174)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/request.rb | 2 |
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 |