diff options
author | Nick LaMuro <nicklamuro@gmail.com> | 2016-07-25 12:27:46 -0500 |
---|---|---|
committer | Nick LaMuro <nicklamuro@gmail.com> | 2016-07-25 15:49:15 -0500 |
commit | 4df7986dc566b64e8bea5096d436f5025557b645 (patch) | |
tree | 54a795e95e5a44a295629031d80e84426b02a8d6 /lib/bundler | |
parent | 2a138ed736b2210a21588db44b567dbdea6f7a18 (diff) | |
download | bundler-4df7986dc566b64e8bea5096d436f5025557b645.tar.gz |
Add URI to http response output in debug mode
Useful when mapping completed responses to requests when debugging to
determine which requests are still in progress.
Diffstat (limited to 'lib/bundler')
-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 a4ba4f3af8..c8d714c05a 100644 --- a/lib/bundler/fetcher/downloader.rb +++ b/lib/bundler/fetcher/downloader.rb @@ -14,7 +14,7 @@ module Bundler raise HTTPError, "Too many redirects" if counter >= redirect_limit response = request(uri, options) - Bundler.ui.debug("HTTP #{response.code} #{response.message}") + Bundler.ui.debug("HTTP #{response.code} #{response.message} #{uri}") case response when Net::HTTPSuccess, Net::HTTPNotModified |