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

Improve error message when scanning unsupported client #3567

Merged
merged 4 commits into from
Aug 29, 2023
Merged

Improve error message when scanning unsupported client #3567

merged 4 commits into from
Aug 29, 2023

Conversation

DaviRain-Su
Copy link
Contributor

Closes: #3531

Description


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

@@ -1183,12 +1181,9 @@ impl ChainEndpoint for CosmosSdkChain {
.into_iter()
.filter_map(|cs| {
IdentifiedAnyClientState::try_from(cs.clone())
.map_err(|e| {
warn!(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add this log back at the debug level after the warning below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@romac romac changed the title [Fix 3531] Improve error message when scanning unsupported client Improve error message when scanning unsupported client Aug 29, 2023
@romac
Copy link
Member

romac commented Aug 29, 2023

Thanks @DaviRain-Su!

@romac romac merged commit eeea24f into informalsystems:master Aug 29, 2023
36 of 37 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.

Improve error message when scanning unsupported client
2 participants