Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔊 Filter transient browser network errors from Sentry client reporting (#2581)
posthog-eu[bot]25d92fdd43b4
diff --git a/apps/web/instrumentation-client.ts b/apps/web/instrumentation-client.tsindex bd28961ac..c098a5038 100644--- a/apps/web/instrumentation-client.ts+++ b/apps/web/instrumentation-client.ts@@ -13,6 +13,18 @@ Sentry.init({// Adjust this value in production, or use tracesSampler for greater controltracesSampleRate: 0.2,+ // Filter out transient browser network errors (offline, aborted navigation,+ // connection blips, ad blockers). These surface as generic `TypeError`s from+ // background fetches (e.g. better-auth's session poll) and are unactionable+ // noise rather than real application bugs.+ ignoreErrors: [+ "Failed to fetch",+ "NetworkError when attempting to fetch resource",+ "Load failed",+ "The network connection was lost",+ "The Internet connection appears to be offline",+ ],+// Setting this option to true will print useful information to the console while you're setting up Sentry.debug: false,