-
Notifications
You must be signed in to change notification settings - Fork 557
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: state error and info are now displayed when using serve UI #3383
Merged
Conversation
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
aljo242
previously approved these changes
Jan 7, 2023
aljo242
approved these changes
Jan 8, 2023
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3383 +/- ##
=======================================
Coverage 23.44% 23.44%
=======================================
Files 298 298
Lines 23496 23496
=======================================
Hits 5509 5509
Misses 17490 17490
Partials 497 497
|
tbruyelle
approved these changes
Jan 9, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, I couldn't reproduce the problem I had, but the fix looks good since now the error embeds the context.
Jchicode
pushed a commit
to Jchicode/cli
that referenced
this pull request
Aug 9, 2023
…te#3383) * fix: state error and info are now displayed when using serve UI * chore: update changelog Co-authored-by: Alex Johnson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes the chain serve state error to include context information:
![Screenshot 2023-01-06 at 16 31 20](https://user-images.githubusercontent.com/894299/211050903-58ecffd2-38fc-417b-bbab-23e4f78c9485.png)
Without these changes
![Screenshot 2023-01-06 at 17 03 05](https://user-images.githubusercontent.com/894299/211050374-29bba5e6-93da-4945-9dc7-601824988e1f.png)
chain serve
would only print the error without the context information when the UI is enabled: