Commit 9e597ed2 authored by Marian Babik's avatar Marian Babik
Browse files

fixed corrupted job file recovery

parent c4cf3ec0
......@@ -294,7 +294,7 @@ class Tracker(object):
jess_log.debug(' loading job file {}'.format(self._job_file))
job = Job.load(self._job_file)
except EOFError:
except (EOFError, ValueError) as e:
# job file probably corrupted; remove it and re-submit new job
job = self._jmi.submit()
Supports Markdown
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