Skip to content
Snippets Groups Projects
Commit 73628fb1 authored by Ian's avatar Ian
Browse files

fix: update unsuccessful job state retrieval to use ledger status

parent dbb6806f
No related branches found
No related tags found
No related merge requests found
...@@ -236,7 +236,9 @@ class JobManager: ...@@ -236,7 +236,9 @@ class JobManager:
# Write unsuccessful jobs details to JSON in output directory # Write unsuccessful jobs details to JSON in output directory
unsuccessful_jobs_details = [ unsuccessful_jobs_details = [
{"job_id": job.job_id, "state": job.get_status(), "kwargs": job.kwargs} {"job_id": job.job_id,
"state": self.ledger.get_status(job.job_id),
"kwargs": job.kwargs}
for job in unsuccessful_jobs for job in unsuccessful_jobs
] ]
json_file = self.output_dir / "unsuccessful_jobs.json" json_file = self.output_dir / "unsuccessful_jobs.json"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment