request.cf.colorequest.cf.region for more region like info
Thanks
thanks againsentry.captureException and also sometimes when there is an error deep in a library then there is no context
throw new Error and the full stack trace is there
itty-durable is probably losing the context somehow since they use a proxy object or something. this one does get de-duplicated though
, current options seems to all require either R2 or an external destination to store them, with each storing costing a R2 write

request.cf.colorequest.cf.regionsentry.captureExceptionthrow new Erroritty-durableconst res = await fetch('https://cloudflare.com/cdn-cgi/trace');
const text = await res.text();
const colo = text.substring(text.indexOf('colo=') + 5, text.indexOf('\n', text.indexOf('colo=')));