fix: avoid temp unsched when refresh token is missing

This commit is contained in:
weak-fox
2026-03-30 00:21:51 +08:00
parent fdd8499ffc
commit 3f6fa1e3db
4 changed files with 106 additions and 0 deletions

View File

@@ -430,6 +430,7 @@ func isNonRetryableRefreshError(err error) bool {
"unauthorized_client", // 客户端未授权
"access_denied", // 访问被拒绝
"missing_project_id", // 缺少 project_id
"no refresh token available",
}
for _, needle := range nonRetryable {
if strings.Contains(msg, needle) {