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
commit820fb42d9b4b787e5ba1729ed7ac8bb189d955de (patch)
tree44e13040969ee94c3ab84f4ed54f82755bac2f0a /Library/Homebrew/extend
parentd48f73b94072715c10fe194ee1f443827c8d1b7f (diff)
downloadhomebrew-820fb42d9b4b787e5ba1729ed7ac8bb189d955de.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