Skip to content
Snippets Groups Projects
Commit 91ea5bbf authored by ordian's avatar ordian Committed by GitHub
Browse files

dispute-distribution: downgrade a warn (#5003)

* dispute-distribution: downgrade a warn

* change at the logging side instead
parent a951972f
No related merge requests found
......@@ -65,6 +65,14 @@ pub fn log_error(result: Result<()>) -> std::result::Result<(), FatalError> {
tracing::debug!(target: LOG_TARGET, error = ?error);
Ok(())
},
Err(JfyiError::NotAValidator(peer)) => {
tracing::debug!(
target: LOG_TARGET,
?peer,
"Dropping message from peer (unknown authority id)"
);
Ok(())
},
Err(error) => {
tracing::warn!(target: LOG_TARGET, error = ?error);
Ok(())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment