From 673e7c00fcf40ead7b95cc84e7f2c0e6adc339f4 Mon Sep 17 00:00:00 2001 From: Wonwoo Choi Date: Thu, 10 Aug 2023 22:50:20 +0900 Subject: [PATCH] =?UTF-8?q?=EB=94=94=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/handlers/login.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/handlers/login.ts b/src/api/handlers/login.ts index 8a275ab..156748a 100644 --- a/src/api/handlers/login.ts +++ b/src/api/handlers/login.ts @@ -26,6 +26,7 @@ export function login(model: Model): IMiddleware { }) await ctx.state.setSession() } catch (e) { + console.error(e) if (e instanceof ControllableError) { ctx.status = 401 } else {