From 5752dd23ed6703abedfc049fbe41738e94ecdb7e Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 11 Aug 2009 18:17:11 +0100 Subject: [PATCH] Only show full exception bt for --debug or -d I agree with Adam, this makes sense. --- bin/brew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index fbb217cea6..30742d5ea2 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