From 95c1068bd2d2afdf8233be9378eed2c46852eaca Mon Sep 17 00:00:00 2001 From: Matteo Date: Tue, 29 Sep 2026 09:16:53 +0200 Subject: [PATCH] Sentry: ignore extensions messaging a closed tab --- packages/frontend/src/lib/sentry-scrub.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend/src/lib/sentry-scrub.ts b/packages/frontend/src/lib/sentry-scrub.ts index c7fee443..c1e04e14 100644 --- a/packages/frontend/src/lib/sentry-scrub.ts +++ b/packages/frontend/src/lib/sentry-scrub.ts @@ -118,6 +118,9 @@ export const BROWSER_IGNORE_ERRORS: Array = [ // mobile connections, ANYTHINGMCP-WEBSITE-A). Next falls back to a full // navigation; there is nothing to fix on our side. /^Connection closed\.$/, + // A WebExtension (runtime.sendMessage is extension-only API; the site + // never calls it) messaging a tab that has closed (ANYTHINGMCP-WEBSITE-J on the site). + /Invalid call to runtime\.sendMessage\(\)\. Tab not found/, ]; /** Errors raised by scripts browser extensions inject into the page. */