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

Commit

Permalink
Warn on chain selection error. (#10587)
Browse files Browse the repository at this point in the history
At least for Polkadot, this should not result in spam and a warning will
very likely indicate some serious issue.
  • Loading branch information
eskimor authored Jan 5, 2022
1 parent a2ae8a5 commit e4d7a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/finality-grandpa/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ where
.or_else(|| Some((target_header.hash(), *target_header.number())))
},
Err(e) => {
debug!(target: "afg", "Encountered error finding best chain containing {:?}: {:?}", block, e);
warn!(target: "afg", "Encountered error finding best chain containing {:?}: {:?}", block, e);
None
},
};
Expand Down

0 comments on commit e4d7a24

Please sign in to comment.