Suppress backtrace from Request#perform (#5174)

main
Daigo 3 Dango 7 years ago committed by Eugen Rochko
parent c567c87453
commit 01d6aa0397

@ -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

Loading…
Cancel
Save