hypertrons / hypertrons-crx

A browser extension for insights into GitHub, Gitee projects and developers.
https://hypercrx.cn
Apache License 2.0
357 stars 103 forks source link

fix: Modify deployment error message #896

Closed wangyantong2000 closed 1 month ago

wangyantong2000 commented 1 month ago

Brief Information

This pull request is in the type of (more info about types):

Related issues (all available keywords):

https://github.com/hypertrons/hypertrons-crx/issues/884

Details

The return of uploadRes is an item, which can be changed to JSON. stringify (uploadRes, null, 2) to indicate the error message. The return information of Edge's publishResp is a string. To capture its erroneous information, it became a try... catch....

Checklist

Others

wangyantong2000 commented 1 month ago

Some suggestions have already been revised. If there are any other suggestions, they can be raised later. In order to test the error messages deployed online, we first merged this PR.