The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: filter Firefox iOS YouTube script errors from Sentry (#26324)
Charles Bochetfde0474d40e5
diff --git a/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx b/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsxindex 41026bb7f28..83b2cb712d9 100644--- a/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx+++ b/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx@@ -42,6 +42,10 @@ export const SentryInitEffect = () => {environment: sentryConfig?.environment ?? undefined,release: sentryConfig?.release ?? undefined,dsn: sentryConfig?.dsn,+ // Firefox for iOS can throw from its injected YouTube quality script.+ ignoreErrors: [+ /^(?:TypeError: )?undefined is not an object \(evaluating 'window\.__firefox__\.refresh_youtube_quality_[A-Fa-f0-9]{32}'\)$/,+ ],integrations: [browserTracingIntegration({}),replayIntegration({