diskimage-builder/diskimage_builder/block_device
Ian Wienand b91207ae47 Remove _config_error thrower
"log and throw" is arguably an anti-pattern; the error message either
bubles-up into the exception, or the handler figures it out.  We have
an example where this logs, and then the handler in blockdevice.py
catches it and logs it again.

Less layers is better; just raise the exception, and use log.exception
to get tracebacks where handled.

Change-Id: I8efd94fbe52a3911253753f447afdb7565849185
2017-05-18 10:37:56 +10:00
..
level0 Move blockdevicesetupexception.py into blockdevice.py 2017-05-11 15:22:41 +10:00
level1 Remove _config_error thrower 2017-05-18 10:37:56 +10:00
level2 Remove _config_error thrower 2017-05-18 10:37:56 +10:00
level3 Remove _config_error thrower 2017-05-18 10:37:56 +10:00
level4 Remove _config_error thrower 2017-05-18 10:37:56 +10:00
tests block_device: reorder imports 2017-05-11 10:38:55 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Apply setfiles on all mountpoints 2017-05-16 07:51:48 +02:00
cmd.py Remove args from BlockDevice() init 2017-05-12 09:36:23 +10:00
plugin_base.py block_device: reorder imports 2017-05-11 10:38:55 +10:00
tree_config.py Add refactor of tree-like vs graph 2017-05-03 05:27:43 +00:00
utils.py exec_sudo: check cmd for str, log output and raise exception 2017-05-11 09:45:25 +10:00