formula_installer: print bottle failure exception.

This commit is contained in:
Mike McQuaid 2014-02-02 21:28:56 +00:00
parent cbd14fde1e
commit 8108ccc374

View File

@ -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