Remove failed deserialization error message (#399)

Firstly, a failure in deserialization for a network message is not
an error especially since we're using a public channel.
Secondly, that same channel is shared by different kind of messages
so trying to interpret one as the other will surely lead to a
unsuccessfull attempt.
This commit is contained in:
Giacomo Pasini 2023-09-13 12:13:18 +02:00 committed by GitHub
parent d72e54f9be
commit 5b7c17e450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ use serde::de::DeserializeOwned;
use serde::Serialize;
use tokio_stream::wrappers::BroadcastStream;
use tokio_stream::StreamExt;
use tracing::error;
use tracing::debug;
pub const NOMOS_DA_TOPIC: &str = "NomosDa";
@ -47,7 +47,7 @@ where
match wire::deserialize::<E>(&data) {
Ok(msg) => Some(msg),
Err(e) => {
error!("Unrecognized Blob message: {e}");
debug!("Unrecognized message: {e}");
None
}
}