Skip to content

Commit

Permalink
chore: enhance logging to keep message track
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Dec 3, 2024
1 parent f1e9263 commit 2cb753b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/adapters/deployer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}

Expand All @@ -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()
Expand Down

0 comments on commit 2cb753b

Please sign in to comment.