aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-08-11 18:17:11 +0100
committerMax Howell2009-08-11 18:17:11 +0100
commit5752dd23ed6703abedfc049fbe41738e94ecdb7e (patch)
tree528e1ff243ad6b9c7094b18c6becd871aa81da54
parenta2066af2fda27223c25b3a91ff2ea5fa5017f8b0 (diff)
downloadbrew-5752dd23ed6703abedfc049fbe41738e94ecdb7e.tar.bz2
Only show full exception bt for --debug or -d
I agree with Adam, this makes sense.
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index fbb217cea..30742d5ea 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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