mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 20:21:03 +00:00
Warn on chain selection error. (#10587)
At least for Polkadot, this should not result in spam and a warning will very likely indicate some serious issue.
This commit is contained in:
@@ -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
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user