From 2cb753bdd1cbe2182a0c8b89ffd07791128f11a2 Mon Sep 17 00:00:00 2001 From: Alejo Thomas Ortega Date: Sun, 10 Nov 2024 20:41:54 -0300 Subject: [PATCH] chore: enhance logging to keep message track --- src/adapters/deployer/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/adapters/deployer/index.ts b/src/adapters/deployer/index.ts index 24bcfff..09b2d1d 100644 --- a/src/adapters/deployer/index.ts +++ b/src/adapters/deployer/index.ts @@ -66,7 +66,9 @@ export function createDeployerComponent( ) logger.info('Notification sent', { messageId: receipt.MessageId as any, - sequenceNumber: receipt.SequenceNumber as any + sequenceNumber: receipt.SequenceNumber as any, + entityId: entity.entityId, + entityType: entity.entityType }) } @@ -90,7 +92,9 @@ export function createDeployerComponent( ) logger.info('Notification sent to events SNS', { MessageId: receipt.MessageId as any, - SequenceNumber: receipt.SequenceNumber as any + SequenceNumber: receipt.SequenceNumber as any, + entityId: entity.entityId, + entityType: entity.entityType }) } await markAsDeployed()