feat(sentry): integrate Sentry SDK with Next.js and configure DSN
- Added Sentry client, server, and edge configurations for enhanced error monitoring. - Updated `.env.example` and `docker-compose` to include `NEXT_PUBLIC_SENTRY_DSN`. - Modified `next.config.ts` to use `withSentryConfig` for source map uploads. - Installed `@sentry/nextjs` as a dependency and updated `pnpm-lock.yaml`.
This commit is contained in:
@@ -43,6 +43,7 @@ DOMAIN_NAME=localhost
|
||||
ENABLE_CORS=false
|
||||
CORS_DOMAIN_NAME=localhost
|
||||
SENTRY_DSN=
|
||||
NEXT_PUBLIC_SENTRY_DSN=
|
||||
|
||||
# Media Limits (in KB)
|
||||
MAX_IMAGE_SIZE_KB=512
|
||||
|
||||
Reference in New Issue
Block a user