diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-01 14:24:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-02 00:52:10 +0100 |
commit | 627d9a71dfedd30da2beb5e967f38b2f908f98d5 (patch) | |
tree | f58bad6b3e0204d467623deea74a6084bdea24ec /meta/classes | |
parent | 55f0493e26881123c6317edfb9dc7af738d3d2d5 (diff) | |
download | poky-627d9a71dfedd30da2beb5e967f38b2f908f98d5.tar.gz |
lib/oe/utils: Handle exceptions in multiprocess_exec
Currently exceptions that happen in pool commands are ignored. Any errors
would be printed on the console but everything else is silent.
Switch to use pool.map_async which allows for an error_callback which
we can use to detect exceptions and make sure these errors are handled.
(From OE-Core rev: 7f2f9b3ff011b340b5d23bb7c47b12c357dc9f02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions