Skip to content

fix: harden API response error handling for non-2xx responses#16

Open
gordonzhaomwrf-a11y wants to merge 1 commit into
2lll5:mainfrom
gordonzhaomwrf-a11y:fix/issue-1-harden-api-error-handling
Open

fix: harden API response error handling for non-2xx responses#16
gordonzhaomwrf-a11y wants to merge 1 commit into
2lll5:mainfrom
gordonzhaomwrf-a11y:fix/issue-1-harden-api-error-handling

Conversation

@gordonzhaomwrf-a11y

Copy link
Copy Markdown

重写前端 API 客户端,确保非2xx响应不被当作成功处理,默认处理401/429错误,保留结构化错误细节。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant