Include both ray and region in report id
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 47s
Test, Build, Deploy / Create Sentry Release (push) Successful in 5s

This commit is contained in:
2026-03-14 02:25:53 -04:00
parent 2ca8cc163d
commit 994a7a7a58

View File

@@ -194,8 +194,7 @@ export async function onRequestPost(context: RequestContext) {
const reportId = `${Date.now()}${context.request.headers
.get("cf-ray")
?.split("-")
?.at(0)}${crypto.randomUUID().replaceAll("-", "")}`;
?.replace("-", "")}${crypto.randomUUID().replaceAll("-", "")}`;
const { current_user: currentUser } = context.data;
if (filesToProcess.length)