Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

sc-network-sync: Improve error reporting #14025

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Apr 26, 2023

Before this wasn't printing a warning for VerificationFailed when there wasn't a peer assigned to the error message. However, if there happens an error on importing the state there wouldn't be any error. This pr improves the situation to also print an error in this case. Besides that there are some other cleanups.

Before this wasn't printing a warning for `VerificationFailed` when there wasn't a peer assigned to
the error message. However, if there happens an error on importing the state there wouldn't be any
error. This pr improves the situation to also print an error in this case. Besides that there are
some other cleanups.
@bkchr bkchr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Apr 26, 2023
@bkchr bkchr requested a review from a team April 26, 2023 21:49
@bkchr bkchr merged commit 1e4c011 into master Apr 27, 2023
@bkchr bkchr deleted the bkchr-sync-improve-error-reporting branch April 27, 2023 09:28
gpestana pushed a commit that referenced this pull request May 4, 2023
Before this wasn't printing a warning for `VerificationFailed` when there wasn't a peer assigned to
the error message. However, if there happens an error on importing the state there wouldn't be any
error. This pr improves the situation to also print an error in this case. Besides that there are
some other cleanups.
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
Before this wasn't printing a warning for `VerificationFailed` when there wasn't a peer assigned to
the error message. However, if there happens an error on importing the state there wouldn't be any
error. This pr improves the situation to also print an error in this case. Besides that there are
some other cleanups.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants