From 87223e94263d599369dc86e0fab6ab2b8c1a202b Mon Sep 17 00:00:00 2001 From: Daigo 3 Dango Date: Sun, 1 Oct 2017 15:02:08 -1000 Subject: [PATCH] Suppress backtrace from Request#perform (#5174) --- app/lib/request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/request.rb b/app/lib/request.rb index 61311df6e4..30ea0e7ee0 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