mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
bitbake-dev: Handle fatal events correctly
This commit is contained in:
@@ -71,6 +71,10 @@ def init(server, eventHandler):
|
||||
if event[0].startswith('bb.msg.MsgError'):
|
||||
return_value = 1
|
||||
print 'ERROR: ' + event[1]['_message']
|
||||
break
|
||||
if event[0].startswith('bb.msg.MsgFatal'):
|
||||
return_value = 1
|
||||
print 'FATAL: ' + event[1]['_message']
|
||||
continue
|
||||
if event[0].startswith('bb.build.TaskFailed'):
|
||||
return_value = 1
|
||||
|
||||
Reference in New Issue
Block a user