mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
[ruby/uri] improve error message
https://github.com/ruby/uri/commit/1c6e81b721
This commit is contained in:
parent
1dce0ae55a
commit
f0993de1c2
@ -1540,7 +1540,7 @@ module URI
|
||||
else
|
||||
unless proxy_uri = env[name]
|
||||
if proxy_uri = env[name.upcase]
|
||||
warn 'The environment variable HTTP_PROXY is discouraged. Use http_proxy.', uplevel: 1
|
||||
warn 'The environment variable HTTP_PROXY is discouraged. Please use http_proxy instead.', uplevel: 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user