From dd22198b59beaed6c907eeac4278546362cda037 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 11 Nov 2018 10:01:16 +0000 Subject: [PATCH] formula_installer: output postinstall failures for developers. This message is pretty useless without a backtrace. --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index c49bf2008a..d9aacad421 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -922,7 +922,7 @@ class FormulaInstaller rescue Exception => e # rubocop:disable Lint/RescueException opoo "The post-install step did not complete successfully" 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 @show_summary_heading = true end