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....
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.
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 toJSON. stringify (uploadRes, null, 2)
to indicate the error message. The return information of Edge'spublishResp
is a string. To capture its erroneous information, it became atry... catch...
.Checklist
Others