Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Modify deployment error message #896

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

wangyantong2000
Copy link
Collaborator

@wangyantong2000 wangyantong2000 commented Oct 22, 2024

Brief Information

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

  • build
  • ci
  • docs
  • feat
  • fix
  • perf
  • refactor
  • test

Related issues (all available keywords):

#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

scripts/deploy.js Outdated Show resolved Hide resolved
scripts/deploy.js Outdated Show resolved Hide resolved
@wangyantong2000
Copy link
Collaborator Author

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.

@wangyantong2000 wangyantong2000 merged commit 10ff222 into hypertrons:master Oct 22, 2024
2 checks passed
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.

2 participants