diff options
| author | Jack Nagel | 2014-12-29 15:23:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-29 15:23:01 -0500 |
| commit | a9556651022a92ae8134b1efbfa67831d5eb2e5e (patch) | |
| tree | ed324b1a1f17fbdd2d55c6380097721ffaa74978 /Library/Homebrew/extend | |
| parent | 633f29af5d3c96efb79c513375a8914ee0a0c163 (diff) | |
| download | brew-a9556651022a92ae8134b1efbfa67831d5eb2e5e.tar.bz2 | |
Preserve backtrace from original exception
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 2 |
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 |
