diff options
-rw-r--r-- | bitbake/lib/bb/event.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 366bc41884..ec25ce77fb 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -595,6 +595,8 @@ class LogHandler(logging.Handler): | |||
595 | etype, value, tb = record.exc_info | 595 | etype, value, tb = record.exc_info |
596 | if hasattr(tb, 'tb_next'): | 596 | if hasattr(tb, 'tb_next'): |
597 | tb = list(bb.exceptions.extract_traceback(tb, context=3)) | 597 | tb = list(bb.exceptions.extract_traceback(tb, context=3)) |
598 | # Need to turn the value into something the logging system can pickle | ||
599 | value = str(value) | ||
598 | record.bb_exc_info = (etype, value, tb) | 600 | record.bb_exc_info = (etype, value, tb) |
599 | record.exc_info = None | 601 | record.exc_info = None |
600 | fire(record, None) | 602 | fire(record, None) |