mirror of
https://github.com/gosticks/brew.git
synced 2026-08-12 12:40:22 +00:00
Fix undefined method error following CannotInstallFormulaError
This commit is contained in:
@@ -299,6 +299,7 @@ module Homebrew
|
||||
fi
|
||||
rescue CannotInstallFormulaError => e
|
||||
ofail e.message
|
||||
nil
|
||||
rescue UnsatisfiedRequirements, DownloadError, ChecksumMismatchError => e
|
||||
ofail "#{f}: #{e}"
|
||||
nil
|
||||
|
||||
@@ -73,6 +73,7 @@ module Homebrew
|
||||
fi
|
||||
rescue CannotInstallFormulaError => e
|
||||
ofail e
|
||||
nil
|
||||
rescue UnsatisfiedRequirements, DownloadError => e
|
||||
ofail "#{formula}: #{e}"
|
||||
nil
|
||||
|
||||
Reference in New Issue
Block a user