From 2d719cd1468334a3507e4194a173da743b9987d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 25 Oct 2023 21:30:43 +0200 Subject: [PATCH] [rubygems/rubygems] Remove unnecessary rescue https://github.com/rubygems/rubygems/commit/c0b549f943 --- lib/rubygems/installer.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 329e90cdf8..26a69a1f05 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -350,11 +350,6 @@ class Gem::Installer run_post_install_hooks spec - - # TODO: This rescue is in the wrong place. What is raising this exception? - # move this rescue to around the code that actually might raise it. - rescue Zlib::GzipFile::Error - raise Gem::InstallError, "gzip error installing #{gem}" end def run_pre_install_hooks # :nodoc: