From 55c19fbe4665ef070ad2289aca1669683f5dce51 Mon Sep 17 00:00:00 2001 From: vvandenb Date: Thu, 23 Mar 2023 23:40:08 +0100 Subject: [PATCH] * No 500! --- back/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/back/src/main.ts b/back/src/main.ts index a8e1622..7e03f94 100644 --- a/back/src/main.ts +++ b/back/src/main.ts @@ -1,4 +1,4 @@ -import { InternalServerErrorException, Logger, ValidationPipe } from '@nestjs/common' +import { Logger, ValidationPipe } from '@nestjs/common' import { NestFactory } from '@nestjs/core' import { AppModule } from './app.module' import * as session from 'express-session' @@ -45,5 +45,5 @@ async function bootstrap (): Promise { logger.log(`Application listening on port ${port}`) } bootstrap().catch((e) => { - throw new InternalServerErrorException(e) + console.log('Error!') })