-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web): 优化适配器异常时的页面错误信息展示 (#1182)
### 背景 适配器或调度器出现异常导致适配器接口请求无法正常发起的情况,大部分页面仍然报错 `500 undefined` ### 做了什么 此PR主要修改了适配器异常请求无法连接的时候的页面错误处理 在门户系统增加全局错误处理,优化管理系统全局错误处理 **门户系统适配器异常时示例** ![image](https://github.com/PKUHPC/SCOW/assets/43978285/31367fdd-1b29-4fe3-9a3d-e52220a52a67) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/d2b019e3-eb7d-424c-8646-a12658405a74) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/6fcf97d2-eed6-4a99-86c9-546fdc97d085) 对于页面已单独处理过的500请求报错信息保持原有样式 **管理系统适配器异常时示例** 多集群同步操作: ![image](https://github.com/PKUHPC/SCOW/assets/43978285/0b0601a2-77ef-46e2-b2a6-721f876bc851) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/dab08c6a-59e3-45e1-9a5a-35b49f920e0c) 单集群操作: ![image](https://github.com/PKUHPC/SCOW/assets/43978285/ade487ff-8307-4f3d-a1b8-d4fe45dd56db) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/cc33c49d-6fda-4a40-ba82-d105a4186a98) 此PR针对适配器异常情况,优化处理各接口页面报错信息,具体接口及特殊情况备注如下 ![image](https://github.com/PKUHPC/SCOW/assets/43978285/2d156c22-f77f-4299-b660-b4687cbf98dd)
- Loading branch information
Showing
38 changed files
with
366 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@scow/portal-web": patch | ||
"@scow/mis-web": patch | ||
--- | ||
|
||
优化集群适配器访问异常时的页面错误信息展示 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.