mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 00:05:30 +00:00
Merge pull request #7773 from william-drakemond/fix/custom-error-codes-warning-text
fix(frontend): correct custom error code warning and upgrade Axios
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -844,7 +844,7 @@ export default {
|
||||
customErrorCodes: 'Custom Error Codes',
|
||||
customErrorCodesHint: 'Only stop scheduling for selected error codes',
|
||||
customErrorCodesWarning:
|
||||
'Only selected error codes will stop scheduling. Other errors will return 500.',
|
||||
'Custom error codes only filter normal account-error handling (such as stopping scheduling or marking rate limits). They do not decide whether a request is retried or switched to another account. Unselected errors may still trigger a retry or an account switch, and the status returned to the client depends on the gateway path and error-passthrough rules; it is not always 500. An empty list applies no filtering.',
|
||||
customErrorCodes429Warning:
|
||||
'429 already has built-in rate limit handling. Adding it to custom error codes will disable the account instead of temporary rate limiting. Are you sure?',
|
||||
customErrorCodes529Warning:
|
||||
|
||||
@@ -946,7 +946,8 @@ export default {
|
||||
poolModeRetryStatusCodesHint: '仅在池模式下生效。以英文逗号分隔的 HTTP 状态码(100-599),命中时触发同账号重试。留空使用默认值({default})。',
|
||||
customErrorCodes: '自定义错误码',
|
||||
customErrorCodesHint: '仅对选中的错误码停止调度',
|
||||
customErrorCodesWarning: '仅选中的错误码会停止调度,其他错误将返回 500。',
|
||||
customErrorCodesWarning:
|
||||
'自定义错误码仅用于筛选常规的账号错误处理(如停止调度、限流标记),不决定请求是否重试或切换账号。未选中的错误仍可能触发重试或切换账号,最终返回给客户端的状态码取决于网关路径和错误透传规则,并非统一返回 500。列表为空时不做筛选。',
|
||||
customErrorCodes429Warning:
|
||||
'429 已有内置的限流处理机制。添加到自定义错误码后,将直接停止调度而非临时限流。确定要添加吗?',
|
||||
customErrorCodes529Warning:
|
||||
|
||||
Reference in new issue
Block a user