chore: improve monitoring for fix: bundle Monaco Editor workers locally instead

**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.
This commit is contained in:
Sonarly Claude Code
2026-04-14 14:32:35 +00:00
parent 92ee998c23
commit e75c9719c3
@@ -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);