runqueue: Handle BBHandledException correctly
PATCH 1/1 runqueue: Handle BBHandledException correctly
If we see a BBHandledException in runqueue, the understanding is the system handled it, printing a log and traceback is just confusing.
Therefore only print these in the cases where its an unknown/unhandled exception.
Signed-off-by Richard Purdie <[email protected]>
bitbake/lib/bb/runqueue.py +7 -0
@@ -1147,6 +1147,13 @@ class RunQueue: raise except SystemExit: raise + except bb.BBHandledException: + try: + self.teardown_workers() + except: + pass + self.state = runQueueComplete + raise except: logger.error("An uncaught exception occured in runqueue, please see the failure below:") try: