commit: 01d6aa0397290f93828713cdb40f261310cedb42
parent: c567c874537b733a3e15625ad01eb0ae0ced8f4e
Author: Daigo 3 Dango <zunda@users.noreply.github.com>
Date: Sun, 1 Oct 2017 15:02:08 -1000
Suppress backtrace from Request#perform (#5174)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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