From bb602cc444d72de6e4e666edd1dd9292db46f18c Mon Sep 17 00:00:00 2001 From: miensoap Date: Thu, 21 Nov 2024 18:49:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A1=9C=EA=B7=B8=20=EC=88=98=EC=A7=91?= =?UTF-8?q?=20=EC=9D=B4=EC=8A=88=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=9E=84?= =?UTF-8?q?=EC=8B=9C=EB=A1=9C=20=EC=BD=98=EC=86=94=EC=97=90=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=B6=9C=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/common/exception/filter/GlobalExceptionFilter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/common/exception/filter/GlobalExceptionFilter.ts b/backend/src/common/exception/filter/GlobalExceptionFilter.ts index 8786bd99..945d0c35 100644 --- a/backend/src/common/exception/filter/GlobalExceptionFilter.ts +++ b/backend/src/common/exception/filter/GlobalExceptionFilter.ts @@ -90,6 +90,8 @@ export class UnknownExceptionFilter implements ExceptionFilter { }); } + console.error(exception); + return response.status(HttpStatus.INTERNAL_SERVER_ERROR).json({ code: -1, message: 'Internal server error',