Skip to content

Commit b67e7e5

Browse files
committed
chore: log if post-dating update
1 parent 60b625c commit b67e7e5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/updatePrescriptionStatus/src/updatePrescriptionStatus.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,12 @@ export function buildDataItems(
385385
}
386386

387387
if (task.meta?.lastUpdated) {
388+
logger.info("Setting PostDatedLastModifiedSetAt for data item",
389+
{taskID: task.id, lastUpdated: task.meta.lastUpdated}
390+
)
388391
dataItem.PostDatedLastModifiedSetAt = task.meta.lastUpdated
392+
} else {
393+
logger.debug("No meta.lastUpdated found for task, regular update", {taskID: task.id})
389394
}
390395

391396
dataItems.push(dataItem)

0 commit comments

Comments
 (0)