Skip to content

Commit 7603e33

Browse files
Do not throw on quarantine error
The message will not be deleted from the queue if it's not processed. But a single error in one message will result in valid messages that were processed become invisible, then reappear after visibility timeout (will be reprocessed)
1 parent edb9e49 commit 7603e33

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎AzureBatchQueue/MessageQueue.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ async Task QuarantineMessage(QueueMessage queueMessage, CancellationToken ct = d
137137
{
138138
logger.LogError(ex, "Failed to quarantine queue message with {messageId}, {popReceipt}, and {blobName}.",
139139
queueMessage.MessageId, queueMessage.PopReceipt, blobRef?.BlobName);
140-
throw;
141140
}
142141
}
143142

0 commit comments

Comments
 (0)