From cf22e7b71df4546fb509a247a418e6b2f333c247 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 6 Jan 2026 14:35:51 +0100 Subject: [PATCH] reintroduce warning when invalid node id is present in consul --- src/rpc/consul.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rpc/consul.rs b/src/rpc/consul.rs index f177ef95..f16a323e 100644 --- a/src/rpc/consul.rs +++ b/src/rpc/consul.rs @@ -169,6 +169,11 @@ impl ConsulDiscovery { .and_then(|k| NodeID::from_slice(&k[..])); if let (Some(ip), Some(pubkey)) = (ip, pubkey) { ret.push((pubkey, SocketAddr::new(ip, ent.service_port))); + } else { + warn!( + "Could not process node spec from Consul: {:?} (invalid IP address or node ID/pubkey)", + ent + ); } } }