summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-03-17 11:49:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-23 17:56:15 +0000
commitab2abd46f6593a28653c942f2e478f787daab449 (patch)
treee94fd7dbb92e7db4bb2e229b563a6b6e0e396d95 /bitbake/lib/bb/ui/toasterui.py
parentd8137be4de7765c1303933447c9746c32bfc0b22 (diff)
downloadpoky-ab2abd46f6593a28653c942f2e478f787daab449.tar.gz
bitbake: toasterui: Remove the excessive exception logging
Remove the very verbose log dump from toasterui. This generates several megabytes of not that useful debug information and actually hinders finding the original exception. (Bitbake rev: a21dc134bdce2c9eb5e47c770094660f0c45c398) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index eee8d14cf1..6b64b4a9c8 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -446,13 +446,6 @@ def main(server, eventHandler, params):
446 exception_data = traceback.format_exc() 446 exception_data = traceback.format_exc()
447 logger.error("%s\n%s" , e, exception_data) 447 logger.error("%s\n%s" , e, exception_data)
448 448
449 _, _, tb = sys.exc_info()
450 if tb is not None:
451 curr = tb
452 while curr is not None:
453 logger.error("Error data dump %s\n%s\n" , traceback.format_tb(curr,1), pformat(curr.tb_frame.f_locals))
454 curr = curr.tb_next
455
456 # save them to database, if possible; if it fails, we already logged to console. 449 # save them to database, if possible; if it fails, we already logged to console.
457 try: 450 try:
458 buildinfohelper.store_log_exception("%s\n%s" % (str(e), exception_data)) 451 buildinfohelper.store_log_exception("%s\n%s" % (str(e), exception_data))