diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 5a03a31f43..29b14f6c32 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -610,8 +610,9 @@ class LogHandler(logging.Handler): | |||
610 | if hasattr(tb, 'tb_next'): | 610 | if hasattr(tb, 'tb_next'): |
611 | tb = list(bb.exceptions.extract_traceback(tb, context=3)) | 611 | tb = list(bb.exceptions.extract_traceback(tb, context=3)) |
612 | # Need to turn the value into something the logging system can pickle | 612 | # Need to turn the value into something the logging system can pickle |
613 | value = str(value) | ||
614 | record.bb_exc_info = (etype, value, tb) | 613 | record.bb_exc_info = (etype, value, tb) |
614 | record.bb_exc_formatted = bb.exceptions.format_exception(etype, value, tb, limit=5) | ||
615 | value = str(value) | ||
615 | record.exc_info = None | 616 | record.exc_info = None |
616 | fire(record, None) | 617 | fire(record, None) |
617 | 618 | ||