We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2223b09 commit 655d006Copy full SHA for 655d006
cwltool/job.py
@@ -356,11 +356,11 @@ def _execute(
356
processStatus = "permanentFail"
357
358
if processStatus != "success":
359
- if rcode > 0:
360
- _logger.warning("Job %s exited with status: %d", self.name, rcode)
361
if rcode < 0:
362
- _logger.warning("Job %s was terminated by signal: %s", self.name,
+ _logger.warning("[job %s] was terminated by signal: %s", self.name,
363
signal.Signals(-rcode).name)
+ else:
+ _logger.warning("[job %s] exited with status: %d", self.name, rcode)
364
365
if "listing" in self.generatefiles:
366
if self.generatemapper:
0 commit comments