bitbake: runqueue.py: Clean up runqueue exception catching in the normal task failure case
(Bitbake rev: a0bc58031d4eb31f8587171e870ecad059af5098) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5442b9aa25
commit
67bfb37475
|
@ -927,8 +927,11 @@ class RunQueue:
|
||||||
return retval
|
return retval
|
||||||
|
|
||||||
def execute_runqueue(self):
|
def execute_runqueue(self):
|
||||||
|
# Catch unexpected exceptions and ensure we exit when an error occurs, not loop.
|
||||||
try:
|
try:
|
||||||
return self._execute_runqueue()
|
return self._execute_runqueue()
|
||||||
|
except bb.runqueue.TaskFailure:
|
||||||
|
raise
|
||||||
except:
|
except:
|
||||||
logger.error("An uncaught exception occured in runqueue, please see the failure below:")
|
logger.error("An uncaught exception occured in runqueue, please see the failure below:")
|
||||||
self.state = runQueueComplete
|
self.state = runQueueComplete
|
||||||
|
|
Loading…
Reference in New Issue