From f2e840312ee400631896553e17c932559d7cbbae Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 22:40:27 +0000 Subject: [PATCH] fix(sdk): Filter 'ServiceWorker cannot be started' errors --- static/app/bootstrap/initializeSdk.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/app/bootstrap/initializeSdk.tsx b/static/app/bootstrap/initializeSdk.tsx index 65f56097ae83..5dd9c19f369f 100644 --- a/static/app/bootstrap/initializeSdk.tsx +++ b/static/app/bootstrap/initializeSdk.tsx @@ -155,8 +155,11 @@ export function initializeSdk(config: Config) { * encountered an error during installation. * Failed to register a ServiceWorker with script * https://org-slug.sentry.io/service-worker.js: unsupported MIME type + * Failed to update a ServiceWorker for scope https://org-slug.sentry.io/ + * with script https://org-slug.sentry.io/service-worker.js: + * ServiceWorker cannot be started (Chrome Mobile, storage/environment issues) */ - /service-worker\.js.*(?:load failed|error during installation|unsupported MIME type)/i, + /service-worker\.js.*(?:load failed|error during installation|unsupported MIME type|cannot be started)/i, /** * React internal error thrown when something outside react modifies the DOM * This is usually because of a browser extension or chrome translate page