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 third-party adware/extension errors from cdn77.org

(justin)randoneering0ee58dc45c39
diff --git a/apps/web/src/instrument.ts b/apps/web/src/instrument.ts
index 600d9d731..52e62e195 100644
--- a/apps/web/src/instrument.ts
+++ b/apps/web/src/instrument.ts
@@ -17,6 +17,11 @@ if (dsn && !dsn.startsWith("KANEO_")) {
// calling postMessage on a destroyed WebView Java bridge; not caused by kaneo code.
"Error invoking postMessage: Java object is gone",
],
+ denyUrls: [
+ // Errors from third-party affiliate/adware browser extensions that inject
+ // scripts fetching from rsc.cdn77.org (e.g. domainList.json); not caused by kaneo code.
+ /cdn77\.org/,
+ ],
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),