Ah yes, that sounds promising. There even is an example that is pretty close: https://developers.cloudflare.com/queues/examples/send-errors-to-r2/