diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index ec7b316d1f..912a06989a 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -930,7 +930,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