Skip to content

Commit

Permalink
chore: add logs when increasing message visibility time (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega authored Jul 2, 2024
1 parent 32dc6f7 commit 619d7fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer-server/src/logic/message-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export async function createMessageProcesorComponent({
})

if(isRelatedToVisibilityTimeout(error?.message)) {
logger.info('Increasing message visibility', { error: error.message || '', receiptMessageHandle })
await queue.increaseMessageVisibility(receiptMessageHandle)
} else {
if (isRelatedToAssetBundlePublish(error?.message)) {
Expand Down

0 comments on commit 619d7fc

Please sign in to comment.