mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix undefined method error following CannotInstallFormulaError
This commit is contained in:
parent
bf7b043392
commit
9d5f4e8ed5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user