From 399518cad1a587c6bbadc64353ecf0a65f19824d Mon Sep 17 00:00:00 2001 From: Rachid F Date: Sat, 20 Apr 2024 15:58:57 -0700 Subject: [PATCH] :zap: Report environment to Sentry --- packages/api/src/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/src/app.module.ts b/packages/api/src/app.module.ts index a92d2c44f..a42f240a1 100644 --- a/packages/api/src/app.module.ts +++ b/packages/api/src/app.module.ts @@ -41,8 +41,8 @@ import { ThrottlerGuard, ThrottlerModule } from '@nestjs/throttler'; SentryModule.forRoot({ dsn: process.env.SENTRY_DSN, debug: true, - environment: 'dev', - release: 'some_release', + environment: `${process.env.ENV}-${process.env.DISTRIBUTION}`, + release: `${process.env.DISTRIBUTION}`, logLevels: ['debug'], }), ]