diff options
| author | Jack Nagel | 2013-02-06 11:22:10 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-06 11:35:41 -0600 |
| commit | 46e49c4889cd4948fb18cefb075dd65b7800cf5c (patch) | |
| tree | 233e2508cc17f6f680a2a632321ce0c40b888016 /Library/Homebrew/test | |
| parent | a79721e59d87e808b400fb913a7ff6d9851a94ae (diff) | |
| download | brew-46e49c4889cd4948fb18cefb075dd65b7800cf5c.tar.bz2 | |
Don't discard exception instance data in debug mode
If the debugger's monkey-patched raise was passed an instantiated
exception, the #exception method was called with a potentially nil
argument, causing its instance data to be thrown away. This hides
potentially useful information from the user.
Fix it by allowing instantiated exceptions to be reraised unharmed.
Fixes Homebrew/homebrew#17622.
Diffstat (limited to 'Library/Homebrew/test')
0 files changed, 0 insertions, 0 deletions
