Skip to content

Commit 578cc1c

Browse files
committed
Re-enable run_command logging, now that it is a method
- This was commented out because run_command was not in the class, so self.log was not available. Re-enable it.
1 parent ea90c2e commit 578cc1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

batchspawner/batchspawner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ def run_command(self, cmd, input=None, env=None):
166166
try:
167167
err = yield proc.wait_for_exit()
168168
except CalledProcessError:
169-
#self.log.error("Subprocess returned exitcode %s" % proc.returncode)
170-
#self.log.error(eout)
169+
self.log.error("Subprocess returned exitcode %s" % proc.returncode)
170+
self.log.error(eout)
171171
raise RuntimeError(eout)
172172
if err != 0:
173173
return err # exit error?

0 commit comments

Comments
 (0)