Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Filter out [t] is not a function (#36831)

Terry Sutton130dcb4a8ddc
diff --git a/apps/studio/sentry.client.config.ts b/apps/studio/sentry.client.config.ts
index 5e6b233d688..b1268e0a534 100644
--- a/apps/studio/sentry.client.config.ts
+++ b/apps/studio/sentry.client.config.ts
@@ -78,6 +78,14 @@ Sentry.init({
return null
}
+ // Filter out errors like 'e._5BLbSXV[t] is not a function' or anything matching '[t] is not a function'
+ if (
+ hint.originalException instanceof Error &&
+ hint.originalException.message.includes('[t] is not a function')
+ ) {
+ return null
+ }
+
return event
},
ignoreErrors: [