remove sentry integration

This commit is contained in:
Amruth Pillai
2022-11-24 16:58:36 +01:00
parent a6fbb8191d
commit 4b1ce539d5
17 changed files with 3 additions and 119 deletions

View File

@ -2,7 +2,6 @@ import { Logger, ValidationPipe } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import * as Sentry from '@sentry/node';
import cookieParser from 'cookie-parser';
import { AppModule } from './app.module';
@ -19,9 +18,6 @@ const bootstrap = async () => {
// Pipes
app.useGlobalPipes(new ValidationPipe({ transform: true }));
// Error Logging
Sentry.init({ dsn: configService.get<string>('logging.sentryDSN') });
// Server Port
const port = configService.get<number>('app.port');
await app.listen(port);