diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-14 10:13:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-14 13:33:35 +0000 |
commit | b0f3d3b3655fa7ef0f349318a50f7947cb40c26c (patch) | |
tree | 9f8c5a19703877ad287403b6452c075bad68b211 /scripts/lib/devtool/deploy.py | |
parent | 2b6574e7c4341c7e999c113e4ee7b9201b56910f (diff) | |
download | poky-b0f3d3b3655fa7ef0f349318a50f7947cb40c26c.tar.gz |
bitbake: utils: Ensure shell function failure in python logging is correct
If a python function exec_func() calls a shell task, the logging wasn't working
correctly in all cases since the exception was turned into a BBHandledException()
and the logfile piece was lost which is handled at the top task level.
The easiest way to avoid this is to allow the ExecutionError exceptions to
be raised to a higher level, we don't need the traceback for them.
(Bitbake rev: 23a6f11b089b14382c21d431edf34fa7224c66bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cae11f558f9ff5fd05ef23b789aaef92fb5a327)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/deploy.py')
0 files changed, 0 insertions, 0 deletions