Skip to content

Commit

Permalink
디버그
Browse files Browse the repository at this point in the history
  • Loading branch information
tirr-c committed Aug 10, 2023
1 parent c9d7d85 commit 673e7c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/handlers/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 673e7c0

Please sign in to comment.