Push to the DLQ, then ack() if no errors are hit?
Push to the DLQ, then ack() if no errors are hit?
requeue=false so it goes straight to the dead letter queueresult_info field. Required next to it, but is there a way to enable returning that field or does it just not exist?result_info is for paginated results - not for backlogs. We don’t currently return the backlog count in the response at all.q.send fails silently. 2 is never printed and I get no errors.requeue=falseresult_inforesult_infoRequired▲ [WARNING] Queues are currently in Beta and are not supported in wrangler dev remote mode.q.sendYour worker has access to the following bindings:
- KV Namespaces:
- xxxx: xxxx
- Queues:
- TREASURY_QUEUE: dev-treasury-queue try {
console.log(1);
const q = queue.factory(c);
console.log(1.2);
await q.send(item);
console.log(2);
} catch (error) {
console.log(3);
console.log(error);
}