From e75c9719c3c45b223480863240e0fcba929d6bdc Mon Sep 17 00:00:00 2001 From: Sonarly Claude Code Date: Tue, 14 Apr 2026 14:32:35 +0000 Subject: [PATCH] chore: improve monitoring for fix: bundle Monaco Editor workers locally instead MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Modified: `packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx`** Added `denyUrls` to the Sentry `init()` configuration to filter out errors originating from third-party CDN scripts (`cdn.jsdelivr.net`, `unpkg.com`). These errors are not actionable in our codebase — they represent network-level failures in the user's environment (CDN blocks, firewalls, regional restrictions). This reduces Sentry noise from errors like the Monaco worker load failure while the code fix is being deployed, and provides ongoing protection against similar CDN-related errors from any third-party script. --- .../modules/error-handler/components/SentryInitEffect.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx b/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx index f90cabcecbc..83e5ce857d7 100644 --- a/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx +++ b/packages/twenty-front/src/modules/error-handler/components/SentryInitEffect.tsx @@ -54,6 +54,11 @@ export const SentryInitEffect = () => { tracesSampleRate: 1.0, replaysSessionSampleRate: 0.1, replaysOnErrorSampleRate: 1.0, + denyUrls: [ + // Errors from third-party CDN scripts are not actionable + /cdn\.jsdelivr\.net/i, + /unpkg\.com/i, + ], }); setIsSentryInitialized(true);