summaryrefslogtreecommitdiff
path: root/bitbake/bin
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-17 13:52:53 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:37 +0100
commit2f0a485bd4857d6f26eccc94480a6db8bfa987a9 (patch)
tree71554694f8efbcd65ec4319f7baa725cc8d98038 /bitbake/bin
parent56f083ad1354a2b225e602b823cbd2f72335858e (diff)
downloadopenembedded-core-2f0a485bd4857d6f26eccc94480a6db8bfa987a9.tar.gz
openembedded-core-2f0a485bd4857d6f26eccc94480a6db8bfa987a9.tar.bz2
openembedded-core-2f0a485bd4857d6f26eccc94480a6db8bfa987a9.tar.xz
openembedded-core-2f0a485bd4857d6f26eccc94480a6db8bfa987a9.zip
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>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 518a38ab8..2fe9c7905 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