From a52855b30edec7305ffed9b69d979023366be65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EA=B7=BC=ED=98=95?= Date: Sat, 25 May 2024 10:51:54 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=94=94=EC=8A=A4=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=9B=B9=ED=9B=85=20ON?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.module.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index a668e9d..26b6253 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -1,7 +1,9 @@ import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; +import { APP_FILTER } from '@nestjs/core'; import { AuthModule } from './auth/auth.module'; +import { AllExceptionsFilter } from './common/filters/all-exception.filter'; import { DebugModule } from './debug/debug.module'; import { EventModule } from './event/event.module'; import { GroupModule } from './group/group.module'; @@ -21,10 +23,10 @@ import { UserModule } from './user/user.module'; UserModule, ], providers: [ - // { - // provide: APP_FILTER, - // useClass: AllExceptionsFilter, - // }, + { + provide: APP_FILTER, + useClass: AllExceptionsFilter, + }, ], }) export class AppModule {}