bitbake-dev: Handle fatal events correctly
This commit is contained in:
parent
f3a6210e93
commit
5be6bb070b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue