Commit 5189c42a authored by Paul Rich's avatar Paul Rich
Browse files

Adding the original errorno, that's not in strerror.

parent a9861685
......@@ -818,8 +818,9 @@ class BaseForker (Component):
#Try again
_logger.error("%s: Error reading stdout from child pipe. Error: %s",
child.label, os.strerror(exc.errno), exc_info=True)
_logger.error("%s: Error reading stdout from child pipe: [%s] %s",
child.label, errno.errorcode[exc.errno],
exc.strerror, exc_info=True)
if child_str == '':
break #we're done
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