[as frontend] sentry 테스트 환경설정 추가

This commit is contained in:
2026-06-25 17:07:12 +09:00
parent 1ccd502e3a
commit 6e95e372a8
7 changed files with 5241 additions and 7714 deletions
+8
View File
@@ -0,0 +1,8 @@
import * as Sentry from "@sentry/nextjs";
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT ?? "local",
tracesSampleRate: 1.0,
debug: process.env.NEXT_PUBLIC_SENTRY_DEBUG === "true",
});