Merge pull request #502 from ethcore/network

Log address on failed connection attempt
This commit is contained in:
Nikolay Volf 2016-02-23 17:59:50 +03:00
commit 6fe189cbd9

View File

@ -500,7 +500,7 @@ impl<Message> Host<Message> where Message: Send + Sync + Clone {
match TcpStream::connect(&address) { match TcpStream::connect(&address) {
Ok(socket) => socket, Ok(socket) => socket,
Err(e) => { Err(e) => {
warn!("Can't connect to node: {:?}", e); warn!("Can't connect to address {:?}: {:?}", address, e);
return; return;
} }
} }