Skip to content

Commit

Permalink
[rubygems/rubygems] Revert "Merge pull request ruby#7148 from Paul-Bo…
Browse files Browse the repository at this point in the history
…b/improvement/include_response_body_on_fetch_http_error"

This reverts commit rubygems/rubygems@e5a4fd9eb617, reversing
changes made to rubygems/rubygems@c5a5363b0c98.

rubygems/rubygems@e21c45c4c3
  • Loading branch information
deivid-rodriguez authored and pull[bot] committed Feb 8, 2024
1 parent 5998209 commit 5d892b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/remote_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def fetch_http(uri, last_modified = nil, head = false, depth = 0)

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

Expand Down

0 comments on commit 5d892b3

Please sign in to comment.