summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/toasterui.py')
-rw-r--r--bitbake/lib/bb/ui/toasterui.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index d2dba256c4..8e30a91109 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -217,6 +217,13 @@ def main(server, eventHandler, params ):
217 if isinstance(event, (bb.command.CommandCompleted, 217 if isinstance(event, (bb.command.CommandCompleted,
218 bb.command.CommandFailed, 218 bb.command.CommandFailed,
219 bb.command.CommandExit)): 219 bb.command.CommandExit)):
220 if (isinstance(event, bb.command.CommandFailed)):
221 event.levelno = format.ERROR
222 event.msg = event.error
223 event.pathname = ""
224 event.lineno = 0
225 buildinfohelper.store_log_event(event)
226 errors += 1
220 227
221 buildinfohelper.update_build_information(event, errors, warnings, taskfailures) 228 buildinfohelper.update_build_information(event, errors, warnings, taskfailures)
222 229