From bee60c54711882eb130c00183bf4626aa5efe32e Mon Sep 17 00:00:00 2001 From: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com> Date: Tue, 6 Oct 2026 10:23:07 +0200 Subject: [PATCH] fix(ui): stop reporting client-aborted RSC streams to Sentry (#12956) --- ui/sentry/event-policy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/sentry/event-policy.ts b/ui/sentry/event-policy.ts index c8312abfb6..2d72d6a9b5 100644 --- a/ui/sentry/event-policy.ts +++ b/ui/sentry/event-policy.ts @@ -23,6 +23,8 @@ const EXPECTED_CONTROL_FLOW_MESSAGES = [ "NEXT_NOT_FOUND", "AbortError", "ResizeObserver", + // Client disconnected mid-stream; Next.js forwards it to onRequestError (vercel/next.js#96704) + "The destination stream closed early", ] as const; const HTTP_CONTEXT_MESSAGES = [