The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Ignore failed to load stripe.js error on sentry
Joshen Lim99407ae87040
diff --git a/studio/sentry.client.config.js b/studio/sentry.client.config.jsindex c4815243c0e..10d676faba3 100644--- a/studio/sentry.client.config.js+++ b/studio/sentry.client.config.js@@ -22,7 +22,15 @@ Sentry.init({},}),],- ignoreErrors: ['ResizeObserver', 'Non-Error exception captured', 'Non-Error promise rejection'],+ ignoreErrors: [+ 'ResizeObserver',+ 'Non-Error exception captured',+ 'Non-Error promise rejection',+ // [Joshen] We currently use stripe-js for customers to save their credit card data+ // I'm unable to reproduce this error on local, staging nor prod across chrome, safari or firefox+ // Based on https://github.com/stripe/stripe-js/issues/26, it seems like this error is safe to ignore,+ 'Failed to load Stripe.js',+ ],})// replace dynamic query param with a template textdiff --git a/studio/sentry.server.config.js b/studio/sentry.server.config.jsindex a626b5b100b..6d7818479d9 100644--- a/studio/sentry.server.config.js+++ b/studio/sentry.server.config.js@@ -10,5 +10,13 @@ Sentry.init({// Note: if you want to override the automatic release value, do not set a// `release` value here - use the environment variable `SENTRY_RELEASE`, so// that it will also get attached to your source maps- ignoreErrors: ['ResizeObserver', 'Non-Error exception captured', 'Non-Error promise rejection'],+ ignoreErrors: [+ 'ResizeObserver',+ 'Non-Error exception captured',+ 'Non-Error promise rejection',+ // [Joshen] We currently use stripe-js for customers to save their credit card data+ // I'm unable to reproduce this error on local, staging nor prod across chrome, safari or firefox+ // Based on https://github.com/stripe/stripe-js/issues/26, it seems like this error is safe to ignore,+ 'Failed to load Stripe.js',+ ],})