From c76e0156d78093fe82d2b9982f39b7203625ea26 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 2 Dec 2009 12:31:44 +0000 Subject: [PATCH] We don't need the whole backtrace for BuildErrors --- bin/brew | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/brew b/bin/brew index 94dd90bf54..10c156df96 100755 --- a/bin/brew +++ b/bin/brew @@ -307,8 +307,7 @@ rescue Interrupt => e puts # seemingly a newline is typical exit 130 rescue BuildError => e - ohai "Backtrace" - puts e.backtrace + puts e.backtrace[1] ohai "Environment" dump_config puts "Exit status: #{e.status}"