Files
twenty/packages
Sonarly Claude Code dc97343e07 chore: improve monitoring for Google reCAPTCHA fails for users in China due to b
Added `ignoreErrors` configuration to the Sentry `init()` call in `SentryInitEffect.tsx` to filter out reCAPTCHA "Invalid site key or not loaded in api.js" errors. These errors originate from Google's third-party reCAPTCHA script and are not actionable — they occur when Google services are blocked (e.g., users in China) and generate monitoring noise. With the code fix adding `.catch()`, these errors should no longer reach Sentry at all, but the `ignoreErrors` filter serves as a defense-in-depth measure for any edge cases where the error might still propagate (e.g., from the reCAPTCHA script's own internal error handling before our `.catch()` fires).
2026-03-12 09:10:06 +00:00
..