summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-07-11 17:34:23 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-17 13:48:51 +0100
commita779a382b66e7b43ac53286758b4370dc14b193b (patch)
tree02ef2bdea2a05086cfd9d6beb98f3b4680d4437d /scripts/lib/wic/plugins/source/isoimage-isohybrid.py
parentb1c4661742d12cfd444043e597d01bd627ee4ca4 (diff)
downloadopenembedded-core-a779a382b66e7b43ac53286758b4370dc14b193b.tar.gz
openembedded-core-a779a382b66e7b43ac53286758b4370dc14b193b.tar.bz2
openembedded-core-a779a382b66e7b43ac53286758b4370dc14b193b.zip
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] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/plugins/source/isoimage-isohybrid.py')
0 files changed, 0 insertions, 0 deletions