aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/012.out
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2022-03-21 16:16:02 -0400
committerHanna Reitz <hreitz@redhat.com>2022-03-22 10:14:23 +0100
commit062fd1dad2640d1c2522b71ddde4ba0bbdc8c6d9 (patch)
tree880e9ff717df3bbcb1eea604b39334d945ad111d /tests/qemu-iotests/012.out
parentbe73231ba836c34502af5ff419ab3ca23c60a6db (diff)
python/utils: add VerboseProcessError
This adds an Exception that extends the Python stdlib subprocess.CalledProcessError. The difference is that the str() method of this exception also adds the stdout/stderr logs. In effect, if this exception goes unhandled, Python will print the output in a visually distinct wrapper to the terminal so that it's easy to spot in a sea of traceback information. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220321201618.903471-3-jsnow@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/012.out')
0 files changed, 0 insertions, 0 deletions