Because .fail() internally deletes the message, when the handler finishes it will also try to delete the message by its new index (-1). Because the delete operation is a splice from the array; any messages between -1 and 1 are deleted.
Other transports don't have this issue since the deletion is made using the receiptId/messageId
Fix for #162
Because
.fail()
internally deletes the message, when the handler finishes it will also try to delete the message by its new index (-1). Because the delete operation is a splice from the array; any messages between -1 and 1 are deleted.Other transports don't have this issue since the deletion is made using the receiptId/messageId