update sentry config to new self hosted sentry

This commit is contained in:
2025-09-16 10:27:32 -05:00
parent 83e1a41ab8
commit 926f31b3aa
12 changed files with 259 additions and 38 deletions

View File

@@ -1,9 +1,9 @@
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from '@sentry/nextjs';
import './src/env.js';
import { env } from './src/env'
import * as Sentry from "@sentry/nextjs";
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
tracesSampleRate: 1,
enableLogs: true,
debug: false,
});