From 8108ccc374b7282ba31b03e21f16f9376a186248 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Feb 2014 21:28:56 +0000 Subject: [PATCH] formula_installer: print bottle failure exception. --- Library/Homebrew/formula_installer.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a2af3abd3b..78dec61036 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