diff options
author | David RodrÃguez <[email protected]> | 2023-12-07 22:51:14 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-12-08 16:01:01 +0900 |
commit | dc64a04a12e25cb98aa24ccbd8a57f6aa5a43d65 (patch) | |
tree | 5839bdc138b00dea3cc3ffd6a99aa7ca55fd36b2 /lib/rubygems/remote_fetcher.rb | |
parent | 8f6cf72e661e36410848c1451335fd28a32cecdf (diff) |
[rubygems/rubygems] Revert "Merge pull request #7148 from Paul-Bob/improvement/include_response_body_on_fetch_http_error"
This reverts commit https://github.com/rubygems/rubygems/commit/e5a4fd9eb617, reversing
changes made to https://github.com/rubygems/rubygems/commit/c5a5363b0c98.
https://github.com/rubygems/rubygems/commit/e21c45c4c3
Diffstat (limited to 'lib/rubygems/remote_fetcher.rb')
-rw-r--r-- | lib/rubygems/remote_fetcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/remote_fetcher.rb b/lib/rubygems/remote_fetcher.rb index 32d4f7dcdf..f9f8c45817 100644 --- a/lib/rubygems/remote_fetcher.rb +++ b/lib/rubygems/remote_fetcher.rb @@ -234,7 +234,7 @@ class Gem::RemoteFetcher fetch_http(location, last_modified, head, depth + 1) else - raise FetchError.new("bad response #{response.message} #{response.code} #{response.body.strip}", uri) + raise FetchError.new("bad response #{response.message} #{response.code}", uri) end end |