chore: sentry dsn (#14295)

This commit is contained in:
Erik
2024-04-02 17:01:00 +00:00
committed by GitHub
parent 972ce6911a
commit b202c4e79f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ LOG_LEVEL=
NEXTAUTH_SECRET=
DATABASE_URL=
JWT_SECRET=
SENTRY_DNS=
SENTRY_DSN=
# KEEP THIS EMPTY, DISABLE SENTRY CLIENT INSIDE OF LIBRARIES USED BY APIv2
NEXT_PUBLIC_SENTRY_DSN=
+2 -2
View File
@@ -44,9 +44,9 @@ export const bootstrap = (app: NestExpressApplication): NestExpressApplication =
})
);
if (process.env.SENTRY_DNS) {
if (process.env.SENTRY_DSN) {
Sentry.init({
dsn: getEnv("SENTRY_DNS"),
dsn: getEnv("SENTRY_DSN"),
});
}
+1 -1
View File
@@ -9,7 +9,7 @@ export type Environment = {
NEXTAUTH_SECRET: string;
DATABASE_URL: string;
JWT_SECRET: string;
SENTRY_DNS: string;
SENTRY_DSN: string;
LOG_LEVEL: keyof typeof logLevels;
REDIS_URL: string;
};