diff --git a/src/unittests/unit/server_test_util.py b/src/unittests/unit/server_test_util.py index 3623f48399..c71f3beb01 100755 --- a/src/unittests/unit/server_test_util.py +++ b/src/unittests/unit/server_test_util.py @@ -168,6 +168,7 @@ def show_proc_error(self, proc, msg): if not proc: raise Exception("command failed to start: %s" % msg) log.warn("%s failed:", proc.command) + log.warn("returncode=%s", proc.poll()) def showfile(fileobj, filetype="stdout"): if fileobj and fileobj.name and os.path.exists(fileobj.name): log.warn("contents of %s file '%s':", filetype, fileobj.name)