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 Nov 10, 2024
1 parent da636ed commit 6236e25
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 @@ -65,7 +65,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 @@ -78,7 +80,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 6236e25

Please sign in to comment.