diff --git a/utils/Jwt.ts b/utils/Jwt.ts index 96214a3f95..59479f13ae 100644 --- a/utils/Jwt.ts +++ b/utils/Jwt.ts @@ -17,7 +17,7 @@ export function verify(token?: string): any | null { try { return jwt.verify(token, publicPem) } catch(e) { - console.log(e) + if(e.name !== 'TokenExpiredError') console.error(e) return null } }