mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #19819 from Homebrew/macho-error-output
formula_installer: always output errors with fixing linkage
This commit is contained in:
commit
6fe715409b
@ -1222,11 +1222,12 @@ on_request: installed_on_request?, options:)
|
|||||||
# Rescue all possible exceptions when fixing linkage.
|
# Rescue all possible exceptions when fixing linkage.
|
||||||
rescue Exception => e # rubocop:disable Lint/RescueException
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
||||||
ofail "Failed to fix install linkage"
|
ofail "Failed to fix install linkage"
|
||||||
|
puts e
|
||||||
puts "The formula built, but you may encounter issues using it or linking other"
|
puts "The formula built, but you may encounter issues using it or linking other"
|
||||||
puts "formulae against it."
|
puts "formulae against it."
|
||||||
|
|
||||||
require "utils/backtrace"
|
require "utils/backtrace"
|
||||||
odebug e, Utils::Backtrace.clean(e)
|
odebug "Backtrace", Utils::Backtrace.clean(e)
|
||||||
|
|
||||||
@show_summary_heading = true
|
@show_summary_heading = true
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user