From 3d81d233c7a019be77953fc6ccf4ced6424dcdbc Mon Sep 17 00:00:00 2001 From: Stefano Hu <76391491+shuyec@users.noreply.github.com> Date: Tue, 14 Jan 2025 19:21:51 +0100 Subject: [PATCH] Fix logs --- .../agreement-platformstate-writer/src/consumerServiceV1.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/agreement-platformstate-writer/src/consumerServiceV1.ts b/packages/agreement-platformstate-writer/src/consumerServiceV1.ts index a2d067e0f4..cbf132967e 100644 --- a/packages/agreement-platformstate-writer/src/consumerServiceV1.ts +++ b/packages/agreement-platformstate-writer/src/consumerServiceV1.ts @@ -65,7 +65,7 @@ export async function handleMessageV1( agreementState.rejected, () => { logger.info( - `Skipping processing of entry ${agreement.id}. Reason: state ${agreement.state}` + `Skipping processing of agreement ${agreement.id}. Reason: state ${agreement.state}` ); return Promise.resolve(); } @@ -86,6 +86,7 @@ export async function handleMessageV1( agreementState.missingCertifiedAttributes, agreementState.pending, agreementState.rejected, + // eslint-disable-next-line sonarjs/no-identical-functions () => { logger.info( `Skipping processing of agreement ${agreement.id}. Reason: state ${agreement.state}`