diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index a75ef25832..4b4dea724b 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -299,6 +299,7 @@ module Homebrew fi rescue CannotInstallFormulaError => e ofail e.message + nil rescue UnsatisfiedRequirements, DownloadError, ChecksumMismatchError => e ofail "#{f}: #{e}" nil diff --git a/Library/Homebrew/upgrade.rb b/Library/Homebrew/upgrade.rb index 1d594e2df5..a8073ff57f 100644 --- a/Library/Homebrew/upgrade.rb +++ b/Library/Homebrew/upgrade.rb @@ -73,6 +73,7 @@ module Homebrew fi rescue CannotInstallFormulaError => e ofail e + nil rescue UnsatisfiedRequirements, DownloadError => e ofail "#{formula}: #{e}" nil