From: Chris Larson Date: Thu, 17 Jun 2010 20:52:53 +0000 (-0700) Subject: Limit the traceback length in the default exception handler X-Git-Tag: 2011-1~5465 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2f0a485bd4857d6f26eccc94480a6db8bfa987a9;p=openembedded-core.git Limit the traceback length in the default exception handler (Bitbake rev: 2b9dc5b55e24b4946ff03bf30ca52a48547caaad) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 518a38ab81..2fe9c79054 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/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