From 2f3b1a072f63330c101d4e2703a24e0f26b98674 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 16 Apr 2020 19:28:02 +0200 Subject: WIP --- src/rpc_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc_client.rs') diff --git a/src/rpc_client.rs b/src/rpc_client.rs index bb0ca56c..a1c5dde0 100644 --- a/src/rpc_client.rs +++ b/src/rpc_client.rs @@ -84,7 +84,7 @@ pub async fn rpc_call( let status = sys.status.borrow().clone(); match status.nodes.get(to) { Some(status) => status.addr.clone(), - None => return Err(Error::Message(format!("Peer ID not found"))), + None => return Err(Error::Message(format!("Peer ID not found: {:?}", to))), } }; sys.rpc_client.call(&addr, msg, timeout).await -- cgit v1.2.3