]> code.ossystems Code Review - openembedded-core.git/commitdiff
Limit the traceback length in the default exception handler
authorChris Larson <chris_larson@mentor.com>
Thu, 17 Jun 2010 20:52:53 +0000 (13:52 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:37 +0000 (15:41 +0100)
(Bitbake rev: 2b9dc5b55e24b4946ff03bf30ca52a48547caaad)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/bin/bitbake

index 518a38ab812fb09d446bff088c32e10ca0beb221..2fe9c79054cf6062e0dcbbe6b745bdbba116cec5 100755 (executable)
@@ -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