diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-07-15 09:44:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-19 08:56:51 +0100 |
commit | 844e1f9e1dff7f5dc1eb68dd75121a07576a7b0f (patch) | |
tree | 4b197b05d1b0d89640884a8aa61206e95f768861 /bitbake | |
parent | 7a220aeaae6ae9a110a77a04c7772f196ae895a1 (diff) | |
download | poky-844e1f9e1dff7f5dc1eb68dd75121a07576a7b0f.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 57be15a62b..aa939d0443 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1219,8 +1219,8 @@ class RunQueue: | |||
1219 | pass | 1219 | pass |
1220 | self.state = runQueueComplete | 1220 | self.state = runQueueComplete |
1221 | raise | 1221 | raise |
1222 | except: | 1222 | except Exception as err: |
1223 | logger.error("An uncaught exception occured in runqueue, please see the failure below:") | 1223 | logger.exception("An uncaught exception occurred in runqueue") |
1224 | try: | 1224 | try: |
1225 | self.teardown_workers() | 1225 | self.teardown_workers() |
1226 | except: | 1226 | except: |