diff --git a/router/connection_maker.go b/router/connection_maker.go index 00ea25f2..191d7dae 100644 --- a/router/connection_maker.go +++ b/router/connection_maker.go @@ -200,7 +200,7 @@ func (cm *ConnectionMaker) status() string { func (cm *ConnectionMaker) attemptConnection(address string, acceptNewPeer bool) { log.Printf("->[%s] attempting connection\n", address) if err := cm.ourself.CreateConnection(address, acceptNewPeer); err != nil { - log.Printf("->[%s] error during connection attempt: %v\n", err) + log.Printf("->[%s] error during connection attempt: %v\n", address, err) cm.ConnectionTerminated(address) } }