Log message sending failure (#206)

* fix a todo in waku adapter
This commit is contained in:
Al Liu 2023-06-21 16:30:47 +08:00 committed by GitHub
parent 2fc10f94f8
commit c74b53be2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ impl NetworkAdapter for WakuAdapter {
[],
false,
);
if let Err((_, _e)) = self
if let Err((_, e)) = self
.network_relay
.send(NetworkMsg::Process(WakuBackendMessage::Broadcast {
message,
@ -292,7 +292,7 @@ impl NetworkAdapter for WakuAdapter {
}))
.await
{
todo!("log error");
tracing::error!("waku message send error: {e:?}");
};
}
}