Skip to content

Commit

Permalink
Backwards compatible lookup of log file in job data.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Aug 31, 2023
1 parent 7b1a870 commit d067e02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion law/workflow/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,9 @@ def _status_error_pairs(self, job_num, job_data):
("code", job_data["code"]),
("error", job_data.get("error")),
("job script error", self.job_error_messages.get(job_data["code"], no_value)),
("log", job_data["extra"].get("log_file", no_value)),
# ("log", job_data["extra"].get("log_file", no_value)),
# backwards compatibility for some limited time
("log", job_data.get("extra", {}).get("log_file", no_value)),
])

def _print_status_errors(self, failed_jobs):
Expand Down

0 comments on commit d067e02

Please sign in to comment.