nestjs-sentry icon indicating copy to clipboard operation
nestjs-sentry copied to clipboard

Question - How to use this package with Nest js rabbit mq microservices

Open Kannndev opened this issue 4 years ago • 2 comments

I have added the Sentry module in app.module.ts,

But even if I manually throw error it does not get logged in sentry

SentryModule.forRootAsync({ imports: [ConfigModule], useFactory: async (configService: ConfigService) => ({ dsn: configService.get('SENTRY_DSN_BACKGROUND'), debug: configService.get('NODE_ENV') !== 'production', environment: configService.get('NODE_ENV'), release: configService.get('RELEASE'), logLevel: LogLevel.Error, tracesSampleRate: 0.5, }), inject: [ConfigService], }),

Kannndev avatar Oct 04 '21 13:10 Kannndev

I'll have to look into this and get back to you.

ntegral avatar Oct 11 '21 16:10 ntegral

@ntegral Any update on this?

vahidvdn avatar Apr 18 '23 10:04 vahidvdn