mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
[FE-2328] feat(studio): add sentry environment environment variable (#41769)
feat(studio): add sentry environment environment variable
This commit is contained in:
1 parent
5bef19528b
commit
0ebef190fc
3 files changed
+9
No files matched your search
@@ -52,6 +52,9 @@ function isThirdPartyError(frames: Sentry.StackFrame[] | undefined) {
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
...(process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT && {
|
||||
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
|
||||
}),
|
||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||
debug: false,
|
||||
// [Ali] Filter out browser extensions and user scripts (FE-2094)
|
||||
|
||||
@@ -7,6 +7,9 @@ import * as Sentry from '@sentry/nextjs'
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
...(process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT && {
|
||||
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
|
||||
}),
|
||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||
debug: false,
|
||||
})
|
||||
@@ -6,6 +6,9 @@ import * as Sentry from '@sentry/nextjs'
|
||||
|
||||
Sentry.init({
|
||||
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
...(process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT && {
|
||||
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
|
||||
}),
|
||||
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
||||
debug: false,
|
||||
ignoreErrors: [
|
||||
|
||||
Reference in new issue
Block a user