chore: sentry dsn (#14295)
This commit is contained in:
@@ -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=
|
||||
@@ -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"),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user