Skip to content

Commit

Permalink
⚡ Report environment to Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachid F committed Apr 20, 2024
1 parent c91e681 commit 399518c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}),
]
Expand Down

0 comments on commit 399518c

Please sign in to comment.