diff options
Diffstat (limited to '')
-rw-r--r-- | test/toolkit.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/toolkit.py b/test/toolkit.py index f2c0a3e..ad5afef 100644 --- a/test/toolkit.py +++ b/test/toolkit.py @@ -87,9 +87,11 @@ class Tools: cmd_list.extend(args) logging.info('Trying to execute: {0}'.format(subprocess.list2cmdline(cmd_list))) try: - output = subprocess.check_output(cmd_list, universal_newlines=True) + output = subprocess.check_output(cmd_list, universal_newlines=True, + stderr=subprocess.STDOUT) except subprocess.CalledProcessError as e: logging.exception(e) + logging.error('Output:\n' + e.output) raise ToolkitError() from e logging.info('Output:\n' + output) return output.split() |