mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-11 20:23:41 +08:00
fix: fix token validation exception handling #901
* fix: fix exception handling 1. add error log for ValidateUserToken 2. update en.json * chore: update log --------- Co-authored-by: seven.yu <seven.yu@dji.com> Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
"该令牌已过期": "The token has expired",
|
||||
"该令牌额度已用尽": "The token quota has been used up",
|
||||
"无效的令牌": "Invalid token",
|
||||
"令牌验证失败": "Token verification failed",
|
||||
"id 或 userId 为空!": "id or userId is empty!",
|
||||
"quota 不能为负数!": "quota cannot be negative!",
|
||||
"令牌额度不足": "Insufficient token quota",
|
||||
|
Reference in New Issue
Block a user