aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-12-02 12:31:44 +0000
committerMax Howell2009-12-02 12:31:44 +0000
commitc76e0156d78093fe82d2b9982f39b7203625ea26 (patch)
tree07d34cb14903521da36a2dc181721a64a23ecada /bin
parent95eb1b4a5d79463bca362386029a46a2f8d13414 (diff)
downloadbrew-c76e0156d78093fe82d2b9982f39b7203625ea26.tar.bz2
We don't need the whole backtrace for BuildErrors
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/brew b/bin/brew
index 94dd90bf5..10c156df9 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}"