Skip to content

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

chore(docs): loosen overly strict sentry filter (#35882)

Charis17efbe196429
diff --git a/apps/docs/instrumentation-client.ts b/apps/docs/instrumentation-client.ts
index cefe0fbfc80..86fc0cd1a4b 100644
--- a/apps/docs/instrumentation-client.ts
+++ b/apps/docs/instrumentation-client.ts
@@ -22,8 +22,11 @@ if (!IS_DEV) {
beforeSend(event) {
const frames = event.exception?.values?.[0].stacktrace?.frames || []
- // Drop errors originating from user apps or extensions as unactionable
- if (frames.some((frame) => frame.filename && frame.filename.startsWith('app:///'))) {
+ // Drop errors not originating from docs app static files as unactionable
+ if (
+ frames &&
+ !frames.some((frame) => frame.filename && frame.filename.startsWith('app:///_next'))
+ ) {
return null
}