From a7fa03555585bfb7bb336f24bb76048a26107aa5 Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Thu, 13 Sep 2018 11:14:06 -0700 Subject: [PATCH] Fix previous build error --- p2p/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/peer.go b/p2p/peer.go index 943adf278..3d0dfadc4 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -76,7 +76,7 @@ func sendWithSocketClient(ip, port string, message []byte) (res string) { conn, err := net.Dial("tcp", addr) if err != nil { - log.Println(err) + log.Warn("Error dailing tcp", "address", addr, "error", err) return } defer conn.Close()