mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: runqueue: improve exception logging
Runqueue errors direct the user to view the "failure below", but no additional error message is available. Log the stacktrace so that the user can see what went wrong. Also fix a typo in the log message. (Bitbake rev: e191f401e372ee181bc02250232ad9cb9a0e9477) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7a220aeaae
commit
844e1f9e1d
@@ -1219,8 +1219,8 @@ class RunQueue:
|
|||||||
pass
|
pass
|
||||||
self.state = runQueueComplete
|
self.state = runQueueComplete
|
||||||
raise
|
raise
|
||||||
except:
|
except Exception as err:
|
||||||
logger.error("An uncaught exception occured in runqueue, please see the failure below:")
|
logger.exception("An uncaught exception occurred in runqueue")
|
||||||
try:
|
try:
|
||||||
self.teardown_workers()
|
self.teardown_workers()
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user