ntegral / nestjs-sentry

Provides an injectable sentry.io client to provide enterprise logging nestjs modules
ISC License
379 stars 95 forks source link

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

Open Kannndev opened 2 years ago

Kannndev commented 2 years ago

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], }),

ntegral commented 2 years ago

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

vahidvdn commented 1 year ago

@ntegral Any update on this?