Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(sentry): ignore Safari extension runtime.sendMessage() errors

(justin)randoneering3b04cc2f8b93
diff --git a/apps/web/src/instrument.ts b/apps/web/src/instrument.ts
index d5e167a7f..62b22e8b1 100644
--- a/apps/web/src/instrument.ts
+++ b/apps/web/src/instrument.ts
@@ -9,6 +9,11 @@ if (dsn && !dsn.startsWith("KANEO_")) {
environment: import.meta.env.MODE,
release: __APP_VERSION__,
sendDefaultPii: false,
+ ignoreErrors: [
+ // Thrown by Safari browser extensions on iOS 18+ injecting content scripts;
+ // not caused by kaneo code.
+ "Invalid call to runtime.sendMessage()",
+ ],
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),