diff --git a/client/network/src/service.rs b/client/network/src/service.rs index 9cb37e7700f3a..93abbbad02495 100644 --- a/client/network/src/service.rs +++ b/client/network/src/service.rs @@ -661,6 +661,11 @@ impl NetworkService { if let Some(protocol_name) = protocol_name { sink.send_sync_notification(protocol_name, message); } else { + log::error!( + target: "sub-libp2p", + "Attempted to send notification on unknown protocol: {:?}", + engine_id, + ); return; }