Permalink
Browse files

Only show full exception bt for --debug or -d

I agree with Adam, this makes sense.
  • Loading branch information...
1 parent 637b378 commit cca9133abff05c6ed8090a55321d77c2c5c41e4b @mxcl mxcl committed Aug 11, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/brew
View
@@ -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

0 comments on commit cca9133

Please sign in to comment.