diff options
| author | Grey Baker <greysteil@gmail.com> | 2019-01-14 20:46:12 +0000 |
|---|---|---|
| committer | Grey Baker <greysteil@gmail.com> | 2019-01-14 20:46:12 +0000 |
| commit | 23ddab395df40692585e2fcc635dbf3e5ee1db2a (patch) | |
| tree | 4d9f8168e9ddf7c8236516d034843efa03c34081 /lib/bundler/fetcher | |
| parent | 95f9094c96d6923f9a7995b97ddb92b9c5c4bb96 (diff) | |
| download | bundler-23ddab395df40692585e2fcc635dbf3e5ee1db2a.tar.gz | |
Ensure credentials are masked in FallbackError from Net::HTTPNotFoundgreysteil/show-notfound-uri
Diffstat (limited to 'lib/bundler/fetcher')
| -rw-r--r-- | lib/bundler/fetcher/downloader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher/downloader.rb b/lib/bundler/fetcher/downloader.rb index a75a36055d..87ad4140fd 100644 --- a/lib/bundler/fetcher/downloader.rb +++ b/lib/bundler/fetcher/downloader.rb @@ -37,7 +37,7 @@ module Bundler when Net::HTTPUnauthorized raise AuthenticationRequiredError, uri.host when Net::HTTPNotFound - raise FallbackError, "Net::HTTPNotFound: #{uri}" + raise FallbackError, "Net::HTTPNotFound: #{URICredentialsFilter.credential_filtered_uri(uri)}" else raise HTTPError, "#{response.class}#{": #{response.body}" unless response.body.empty?}" end |
