diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-11 17:34:23 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-17 14:01:36 +0100 |
commit | 96a87592d41c9813f7b8c4f87dd3acdd3933ae50 (patch) | |
tree | b28643220a877ae0d3397df4fac233ac1312b26c /.templateconf | |
parent | 81498aac9560fbeaeb58eaada32ce80e0ea51628 (diff) | |
download | poky-96a87592d41c9813f7b8c4f87dd3acdd3933ae50.tar.gz |
runqemu: reworked exception handling
Introduced custom RunQemuException that script raises on known
errors. This exception is handled in one place and prints
error output without printing Python traceback. This shoud make
error output less scary for the end user.
Handling of unknown errors has not been changed - both error and
traceback will be printed.
Reimplemented OEPathError exception code to handle it similarly
to RunQemuException.
Moved exception handling code into main() to keep it in one place.
[YOCTO #11719]
(From OE-Core rev: a779a382b66e7b43ac53286758b4370dc14b193b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.templateconf')
0 files changed, 0 insertions, 0 deletions