Suppress backtrace from Request#perform (#5174)

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Daigo 3 Dango 2017-10-01 15:02:08 -10:00 committed by Eugen Rochko
parent c567c87453
commit 01d6aa0397
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class Request
def perform def perform
http_client.headers(headers).public_send(@verb, @url.to_s, @options) http_client.headers(headers).public_send(@verb, @url.to_s, @options)
rescue => e rescue => e
raise e.class, "#{e.message} on #{@url}" raise e.class, "#{e.message} on #{@url}", e.backtrace[0]
end end
def headers def headers