summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/toasterui.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index 4bb33f1008..fec69621f1 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -154,8 +154,10 @@ def main(server, eventHandler, params):
154 logger.addHandler(console) 154 logger.addHandler(console)
155 logger.setLevel(logging.INFO) 155 logger.setLevel(logging.INFO)
156 llevel, debug_domains = bb.msg.constructLogOptions() 156 llevel, debug_domains = bb.msg.constructLogOptions()
157 server.runCommand(["setEventMask", server.getEventHandle(), llevel, debug_domains, _evt_list]) 157 result, error = server.runCommand(["setEventMask", server.getEventHandle(), llevel, debug_domains, _evt_list])
158 158 if not result or error:
159 logger.error("can't set event mask: %s", error)
160 return 1
159 161
160 # verify and warn 162 # verify and warn
161 build_history_enabled = True 163 build_history_enabled = True