diff options
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index dac2f74d90..35cbded97d 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -177,7 +177,9 @@ class HobHandler(gobject.GObject): | |||
177 | 177 | ||
178 | elif isinstance(event, logging.LogRecord): | 178 | elif isinstance(event, logging.LogRecord): |
179 | if event.levelno >= logging.ERROR: | 179 | if event.levelno >= logging.ERROR: |
180 | self.error_msg += event.msg + '\n' | 180 | formatter = bb.msg.BBLogFormatter() |
181 | formatter.format(event) | ||
182 | self.error_msg += event.message + '\n' | ||
181 | 183 | ||
182 | elif isinstance(event, bb.event.TargetsTreeGenerated): | 184 | elif isinstance(event, bb.event.TargetsTreeGenerated): |
183 | self.current_phase = "data generation" | 185 | self.current_phase = "data generation" |