From 0c67d4db308efd9c23bc243a186026ae78a8a052 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Feb 2014 21:28:56 +0000 Subject: formula_installer: print bottle failure exception. --- Library/Homebrew/formula_installer.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a2af3abd3..78dec6103 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -135,9 +135,10 @@ class FormulaInstaller tab.tabfile.delete if tab.tabfile tab.write end - rescue - raise if ARGV.homebrew_developer? + rescue => e + raise e if ARGV.homebrew_developer? @pour_failed = true + onoe e.message opoo "Bottle installation failed: building from source." end -- cgit v1.2.3