Skip to content

Commit

Permalink
update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 2, 2024
1 parent 7e0780c commit a48eb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmdc_automation/workflow_automation/watch_nmdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def process_failed_job(self, job: WorkflowJob) -> Optional[str]:
job.workflow.state["failed_count"] = job.workflow.state.get("failed_count", 0) + 1
job.workflow.state["last_status"] = job.job_status
self.save_checkpoint()
logger.error(f"Job {job.opid} failed {job.workflow.state['failed_count']} times. Retrying.")
logger.info(f"Job {job.opid} failed {job.workflow.state['failed_count']} times. Retrying.")
jobid = job.job.submit_job()
return jobid

Expand Down

0 comments on commit a48eb05

Please sign in to comment.