mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge branch '2018.3' into 2018.3
This commit is contained in:
commit
611065e72d
@ -77,6 +77,9 @@ def _walk_through(job_dir):
|
|||||||
except Exception:
|
except Exception:
|
||||||
log.exception('Failed to deserialize %s', load_path)
|
log.exception('Failed to deserialize %s', load_path)
|
||||||
continue
|
continue
|
||||||
|
if not job:
|
||||||
|
log.error('Deserialization of job succeded but there is no data in %s', load_path)
|
||||||
|
continue
|
||||||
jid = job['jid']
|
jid = job['jid']
|
||||||
yield jid, job, t_path, final
|
yield jid, job, t_path, final
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user