Commit 2f18052f authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

utils.process.RunResult: Always set "fail_reason" attribute

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 23b9930c
......@@ -110,6 +110,8 @@ class RunResult(object):
if fail_msgs and self.failed:
self.fail_reason = utils_text.CommaJoin(fail_msgs)
self.fail_reason = None
if self.failed:
logging.debug("Command '%s' failed (%s); output: %s",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment