formula_installer: output postinstall failures for developers.
This message is pretty useless without a backtrace.
This commit is contained in:
parent
a8aed381ca
commit
dd22198b59
@ -922,7 +922,7 @@ class FormulaInstaller
|
|||||||
rescue Exception => e # rubocop:disable Lint/RescueException
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
||||||
opoo "The post-install step did not complete successfully"
|
opoo "The post-install step did not complete successfully"
|
||||||
puts "You can try again using `brew postinstall #{formula.full_name}`"
|
puts "You can try again using `brew postinstall #{formula.full_name}`"
|
||||||
ohai e, e.backtrace if debug?
|
ohai e, e.backtrace if debug? || ARGV.homebrew_developer?
|
||||||
Homebrew.failed = true
|
Homebrew.failed = true
|
||||||
@show_summary_heading = true
|
@show_summary_heading = true
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user