Limit the traceback length in the default exception handler

(Bitbake rev: 2b9dc5b55e24b4946ff03bf30ca52a48547caaad)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson 2010-06-17 13:52:53 -07:00 committed by Richard Purdie
parent 56f083ad13
commit 2f0a485bd4
1 changed files with 1 additions and 1 deletions

View File

@ -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