fix: Enhance error handling for additional HTTP status code#11151
fix: Enhance error handling for additional HTTP status code#11151ssongliu merged 1 commit into1Panel-dev:dev-v2from
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What this PR does / why we need it?
在某些函数里502会返回成功情况,比如文件保存。 添加可能的错误状态码响应(后端挂掉或者长时间超时),而不是直接return,
Summary of your change
Please indicate you've done the following: