Browse Source

Include requested URL into the message on network errors (#4945)

theme_witches
unarist 5 years ago committed by Eugen Rochko
parent
commit
a4c500176b
  1. 2
      app/lib/request.rb

2
app/lib/request.rb

@ -31,6 +31,8 @@ class Request @@ -31,6 +31,8 @@ class Request
def perform
http_client.headers(headers).public_send(@verb, @url.to_s, @options)
rescue => e
raise e.class, "#{e.message} on #{@url}"
end
def headers

Loading…
Cancel
Save