Skip to content

Commit

Permalink
Update sentry env log in dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhhTien committed May 5, 2024
1 parent 0eb66d8 commit 5e5d06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule)

// Sentry
if (process.env.NODE_ENV === 'production') {
if (process.env.NODE_ENV === 'development') { //'production'
sentryInit({
dsn: process.env.SENTRY_DSN,
integrations: [
Expand Down

0 comments on commit 5e5d06e

Please sign in to comment.