aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2014-12-29 15:23:01 -0500
committerJack Nagel2014-12-29 15:23:01 -0500
commita9556651022a92ae8134b1efbfa67831d5eb2e5e (patch)
treeed324b1a1f17fbdd2d55c6380097721ffaa74978 /Library/Homebrew/extend
parent633f29af5d3c96efb79c513375a8914ee0a0c163 (diff)
downloadbrew-a9556651022a92ae8134b1efbfa67831d5eb2e5e.tar.bz2
Preserve backtrace from original exception
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index cb3c12b33..a23fd7d4e 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -119,7 +119,7 @@ module Superenv
when "gcc-4.2"
begin
apple_gcc42 = Formulary.factory('apple-gcc42')
- rescue Exception # in --debug, catch bare exceptions too
+ rescue FormulaUnavailableError
end
paths << apple_gcc42.opt_bin.to_s if apple_gcc42
when GNU_GCC_REGEXP