Fixup sentry config

Correct project name, use SENTRY_ENVIRONMENT env var.
This commit is contained in:
Tyler Hallada 2022-08-29 22:18:57 -04:00
parent ddd67dc25c
commit 9ceb7cc00c
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ Sentry.init({
dsn: SENTRY_DSN || 'https://dda36383332143d3a84c25a4f6aa6470@o1382253.ingest.sentry.io/6697231',
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
environment: process.env.SENTRY_ENV || 'production',
environment: process.env.SENTRY_ENVIRONMENT || 'production',
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so

View File

@ -1,4 +1,4 @@
defaults.url=https://sentry.io/
defaults.org=hallada
defaults.project=javascript-nextjs
defaults.project=modmapper
cli.executable=..\\AppData\\Local\\npm-cache\\_npx\\a8388072043b4cbc\\node_modules\\@sentry\\cli\\bin\\sentry-cli

View File

@ -10,7 +10,7 @@ Sentry.init({
dsn: SENTRY_DSN || 'https://dda36383332143d3a84c25a4f6aa6470@o1382253.ingest.sentry.io/6697231',
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
environment: process.env.SENTRY_ENV || 'production',
environment: process.env.SENTRY_ENVIRONMENT || 'production',
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so