Skip to content

Commit

Permalink
add more debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Nov 27, 2024
1 parent fac4dcf commit a6ec7e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nmdc_automation/workflow_automation/watch_nmdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def get_finished_jobs(self)->Tuple[List[WorkflowJob], List[WorkflowJob]]:
continue
# check status
status = job.job.get_job_status()

if status == "Succeded":
job.workflow.last_status = status
successful_jobs.append(job)
Expand All @@ -216,6 +217,7 @@ def get_finished_jobs(self)->Tuple[List[WorkflowJob], List[WorkflowJob]]:
continue
else:
job.workflow.last_status = status
logger.debug(f"Job {job.opid} status: {status}")
self.save_checkpoint()

if successful_jobs:
Expand Down

0 comments on commit a6ec7e0

Please sign in to comment.