diff --git a/packages/agreement-platformstate-writer/src/consumerServiceV1.ts b/packages/agreement-platformstate-writer/src/consumerServiceV1.ts index 8623227220..a2d067e0f4 100644 --- a/packages/agreement-platformstate-writer/src/consumerServiceV1.ts +++ b/packages/agreement-platformstate-writer/src/consumerServiceV1.ts @@ -140,7 +140,7 @@ const handleActivationOrSuspension = async ( if (existingAgreementEntry) { if (existingAgreementEntry.version > incomingVersion) { logger.info( - `Skipping processing of entry ${existingAgreementEntry}. Reason: a more recent entry already exists` + `Skipping processing of entry ${primaryKey}. Reason: a more recent entry already exists` ); return Promise.resolve(); } else { diff --git a/packages/agreement-platformstate-writer/src/consumerServiceV2.ts b/packages/agreement-platformstate-writer/src/consumerServiceV2.ts index a447671095..cb4552d3c7 100644 --- a/packages/agreement-platformstate-writer/src/consumerServiceV2.ts +++ b/packages/agreement-platformstate-writer/src/consumerServiceV2.ts @@ -46,7 +46,7 @@ export async function handleMessageV2( if (existingAgreementEntry) { if (existingAgreementEntry.version > msg.version) { logger.info( - `Skipping processing of entry ${existingAgreementEntry}. Reason: a more recent entry already exists` + `Skipping processing of entry ${primaryKey}. Reason: a more recent entry already exists` ); return Promise.resolve(); } else {