diff options
| author | Max Howell | 2009-08-11 18:17:11 +0100 |
|---|---|---|
| committer | Max Howell | 2009-08-11 18:17:11 +0100 |
| commit | 5752dd23ed6703abedfc049fbe41738e94ecdb7e (patch) | |
| tree | 528e1ff243ad6b9c7094b18c6becd871aa81da54 | |
| parent | a2066af2fda27223c25b3a91ff2ea5fa5017f8b0 (diff) | |
| download | brew-5752dd23ed6703abedfc049fbe41738e94ecdb7e.tar.bz2 | |
Only show full exception bt for --debug or -d
I agree with Adam, this makes sense.
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ rescue Interrupt => e puts # seemingly a newline is typical exit 130 rescue SystemCallError, RuntimeError => e - if ARGV.verbose? or ARGV.debug? + if ARGV.debug? onoe e.inspect puts e.backtrace else |
