Skip to content

Commit 1068b74

Browse files
authored
Update splunkversioncontrol_utility.py
Improving error logging
1 parent 231d486 commit 1068b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/splunkversioncontrol_utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def runOSProcess(command, logger, timeout=60, shell=True):
4343
return "", "timeout after %s seconds" % (timeout), False
4444
else:
4545
if proc.returncode != 0:
46-
logger.debug("OS process exited with non-zero code of %s, for command %s" % (proc.returncode, command))
46+
logger.debug("OS process exited with non-zero code of %s, for command %s, stdout %s, stderr %s" % (proc.returncode, command, stdout, stderr))
4747
res = False
4848
else:
4949
logger.debug("OS process exited with zero code, for command %s" % (command))

0 commit comments

Comments
 (0)