nestjs-sentry
nestjs-sentry copied to clipboard
Question - How to use this package with Nest js rabbit mq microservices
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], }),
I'll have to look into this and get back to you.
@ntegral Any update on this?