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:
parent
d72e54f9be
commit
5b7c17e450
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user