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: state error and info are now displayed when using serve UI #3383

Merged
merged 6 commits into from
Jan 9, 2023

Conversation

jeronimoalbi
Copy link
Member

This PR changes the chain serve state error to include context information:
Screenshot 2023-01-06 at 16 31 20

Without these changes chain serve would only print the error without the context information when the UI is enabled:
Screenshot 2023-01-06 at 17 03 05

@jeronimoalbi jeronimoalbi added type:error Something isn't working component:design Design or UX improvements labels Jan 6, 2023
@jeronimoalbi jeronimoalbi self-assigned this Jan 6, 2023
aljo242
aljo242 previously approved these changes Jan 7, 2023
@codecov
Copy link

codecov bot commented Jan 8, 2023

Codecov Report

Merging #3383 (158470c) into main (efd3bbd) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3383   +/-   ##
=======================================
  Coverage   23.44%   23.44%           
=======================================
  Files         298      298           
  Lines       23496    23496           
=======================================
  Hits         5509     5509           
  Misses      17490    17490           
  Partials      497      497           
Impacted Files Coverage Δ
ignite/services/chain/serve.go 0.00% <0.00%> (ø)

Copy link
Contributor

@tbruyelle tbruyelle left a 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.

@aljo242 aljo242 merged commit f7bf449 into main Jan 9, 2023
@aljo242 aljo242 deleted the fix/state-error branch January 9, 2023 16:14
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
Labels
component:design Design or UX improvements type:error Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants