diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 8fc1732a8e..49db2deb27 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -183,10 +183,11 @@ class HobHandler(gobject.GObject): | |||
183 | self.emit("sanity-failed", event._msg) | 183 | self.emit("sanity-failed", event._msg) |
184 | 184 | ||
185 | elif isinstance(event, logging.LogRecord): | 185 | elif isinstance(event, logging.LogRecord): |
186 | if event.levelno >= logging.ERROR: | 186 | if not self.building: |
187 | formatter = bb.msg.BBLogFormatter() | 187 | if event.levelno >= logging.ERROR: |
188 | msg = formatter.format(event) | 188 | formatter = bb.msg.BBLogFormatter() |
189 | self.error_msg += msg + '\n' | 189 | msg = formatter.format(event) |
190 | self.error_msg += msg + '\n' | ||
190 | 191 | ||
191 | elif isinstance(event, bb.event.TargetsTreeGenerated): | 192 | elif isinstance(event, bb.event.TargetsTreeGenerated): |
192 | self.current_phase = "data generation" | 193 | self.current_phase = "data generation" |