[ruby/uri] improve error message

https://github.com/ruby/uri/commit/1c6e81b721
This commit is contained in:
sodacris 2024-11-12 09:03:08 +08:00 committed by Hiroshi SHIBATA
parent 1dce0ae55a
commit f0993de1c2

View File

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