mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
token解析失败打印error日志
This commit is contained in:
@@ -67,7 +67,7 @@ public class JwtUtils {
|
|||||||
DecodedJWT jwt = verifier.verify(token);
|
DecodedJWT jwt = verifier.verify(token);
|
||||||
return jwt.getClaims();
|
return jwt.getClaims();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("decode error,token:{}", token, e);
|
log.error("decode error,token:{}", token, e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user