diff options
author | Grey Baker <greysteil@gmail.com> | 2019-01-03 15:23:17 +0000 |
---|---|---|
committer | Grey Baker <greysteil@gmail.com> | 2019-01-03 15:23:17 +0000 |
commit | 95f9094c96d6923f9a7995b97ddb92b9c5c4bb96 (patch) | |
tree | b7b34f093bf91c90573b4f2e13c0af9f3ca275ef /lib | |
parent | a63a39d738865665f714f179fe42dd10006da26d (diff) | |
download | bundler-95f9094c96d6923f9a7995b97ddb92b9c5c4bb96.tar.gz |
Include URL in Bundler::Fetcher::FallbackError message for Net::HTTPNotFound
Diffstat (limited to 'lib')
-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 e0e0cbf1c9..a75a36055d 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" + raise FallbackError, "Net::HTTPNotFound: #{uri}" else raise HTTPError, "#{response.class}#{": #{response.body}" unless response.body.empty?}" end |