mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 23:27:56 +00:00
Decrease log levels (#464)
It doesn't make sense to log them as a warning, especially when it could happen that a parachain id could be reused over the lifetime of a relay chain.
This commit is contained in:
@@ -80,7 +80,7 @@ where
|
||||
let header = match Block::Header::decode(&mut &finalized_head[..]) {
|
||||
Ok(header) => header,
|
||||
Err(err) => {
|
||||
tracing::warn!(
|
||||
tracing::debug!(
|
||||
target: "cumulus-consensus",
|
||||
error = ?err,
|
||||
"Could not decode parachain header while following finalized heads.",
|
||||
@@ -286,7 +286,7 @@ async fn handle_new_best_parachain_head<Block, P>(
|
||||
let parachain_head = match <<Block as BlockT>::Header>::decode(&mut &head[..]) {
|
||||
Ok(header) => header,
|
||||
Err(err) => {
|
||||
tracing::warn!(
|
||||
tracing::debug!(
|
||||
target: "cumulus-consensus",
|
||||
error = ?err,
|
||||
"Could not decode Parachain header while following best heads.",
|
||||
|
||||
Reference in New Issue
Block a user