diff --git a/apps/push-serverless/src/index.ts b/apps/push-serverless/src/index.ts index 179250a0..e5988b50 100644 --- a/apps/push-serverless/src/index.ts +++ b/apps/push-serverless/src/index.ts @@ -16,7 +16,11 @@ const dsn = process.env.SENTRY_DSN; if (dsn) { Sentry.init({ dsn, - integrations: [Sentry.captureConsoleIntegration()], + integrations: [ + Sentry.captureConsoleIntegration({ + levels: ['error', 'warn'] + }) + ], tracesSampleRate: 1.0 }); } diff --git a/apps/push/src/index.ts b/apps/push/src/index.ts index 0725646d..9676fd87 100644 --- a/apps/push/src/index.ts +++ b/apps/push/src/index.ts @@ -15,7 +15,11 @@ const dsn = process.env.SENTRY_DSN; if (dsn) { Sentry.init({ dsn, - integrations: [Sentry.captureConsoleIntegration()], + integrations: [ + Sentry.captureConsoleIntegration({ + levels: ['error', 'warn'] + }) + ], tracesSampleRate: 1.0 }); } diff --git a/apps/server/src/index.ts b/apps/server/src/index.ts index 946bc674..44aedeac 100644 --- a/apps/server/src/index.ts +++ b/apps/server/src/index.ts @@ -5,7 +5,11 @@ const dsn = process.env.SENTRY_DSN; if (dsn) { Sentry.init({ dsn, - integrations: [Sentry.captureConsoleIntegration()], + integrations: [ + Sentry.captureConsoleIntegration({ + levels: ['error', 'warn'] + }) + ], tracesSampleRate: 1.0 }); } diff --git a/apps/video/src/index.ts b/apps/video/src/index.ts index 688a53ab..8a36fe16 100644 --- a/apps/video/src/index.ts +++ b/apps/video/src/index.ts @@ -13,7 +13,11 @@ const dsn = process.env.SENTRY_DSN; if (dsn) { Sentry.init({ dsn, - integrations: [Sentry.captureConsoleIntegration()], + integrations: [ + Sentry.captureConsoleIntegration({ + levels: ['error', 'warn'] + }) + ], tracesSampleRate: 1.0 }); }