summaryrefslogtreecommitdiffstats
path: root/bin/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-17 13:52:53 -0700
committerChris Larson <chris_larson@mentor.com>2010-06-18 08:57:49 -0700
commit2b9dc5b55e24b4946ff03bf30ca52a48547caaad (patch)
tree7afa36234fe31856cabc1cdb7e564242daf3ee83 /bin/bitbake
parentf5b7e16adf86950d91a88a343031e71beb0f08a6 (diff)
downloadbitbake-2b9dc5b55e24b4946ff03bf30ca52a48547caaad.tar.gz
Limit the traceback length in the default exception handler
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-xbin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 028e2066a..f9a7970bd 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -58,7 +58,7 @@ class BBConfiguration(object):
def print_exception(exc, value, tb):
"""Send exception information through bb.msg"""
- bb.fatal("".join(format_exception(exc, value, tb)))
+ bb.fatal("".join(format_exception(exc, value, tb, limit=8)))
sys.excepthook = print_exception