Merge pull request #5297 from MikeMcQuaid/postinstall-developer-failures
formula_installer: output postinstall failures for developers.
This commit is contained in:
commit
b0f382c177
@ -930,7 +930,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