diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 7 |
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)) |