Skip to content

Commit

Permalink
coral2_dws: fix log messages
Browse files Browse the repository at this point in the history
Problem: two coral2_dws.py log messages do not format all their
arguments.

Fix them.
  • Loading branch information
jameshcorbett committed Aug 9, 2024
1 parent cdfc788 commit aef7b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/coral2_dws.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def save_elapsed_time_to_kvs(handle, jobid, workflow):
kvsdir.commit()
except Exception:
LOGGER.exception(
"Failed to update KVS for job %s: workflow is", jobid, workflow
"Failed to update KVS for job %s: workflow is %s", jobid, workflow
)


Expand All @@ -180,7 +180,7 @@ def save_workflow_to_kvs(handle, jobid, workflow):
kvsdir.commit()
except Exception:
LOGGER.exception(
"Failed to update KVS for job %s: workflow is", jobid, workflow
"Failed to update KVS for job %s: workflow is %s", jobid, workflow
)


Expand Down

0 comments on commit aef7b00

Please sign in to comment.