Commit 8266cd5a authored by Manuel Günther's avatar Manuel Günther

Writing error message to log files when jobs can't be run.

parent dcf089c2
......@@ -162,7 +162,8 @@ class JobManager:
# execute the command line of the job, and wait until it has finished
try:
result = subprocess.call(command_line)
except Exception:
except Exception as e:
logger.error("The job with id '%d' could not be executed: %s" % (job_id, e))
result = 69 # ASCII: 'E'
# set a new status and the results of the job
......
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