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(web,sentry): ignore Facebook in-app browser postMessage errors

(justin)randoneering37d13face441
diff --git a/apps/web/src/instrument.ts b/apps/web/src/instrument.ts
index 62b22e8b1..600d9d731 100644
--- a/apps/web/src/instrument.ts
+++ b/apps/web/src/instrument.ts
@@ -13,6 +13,9 @@ if (dsn && !dsn.startsWith("KANEO_")) {
// Thrown by Safari browser extensions on iOS 18+ injecting content scripts;
// not caused by kaneo code.
"Invalid call to runtime.sendMessage()",
+ // Thrown by Facebook's in-app browser (Android) navigation performance logger
+ // calling postMessage on a destroyed WebView Java bridge; not caused by kaneo code.
+ "Error invoking postMessage: Java object is gone",
],
integrations: [
Sentry.browserTracingIntegration(),