From 1637765aadaeb8522911be846379355f79c46ff7 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sat, 2 Oct 2021 12:23:36 -0700 Subject: [PATCH] debugging --- src/comm/comm.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/comm/comm.go b/src/comm/comm.go index ad6665e0..f694be81 100644 --- a/src/comm/comm.go +++ b/src/comm/comm.go @@ -49,8 +49,10 @@ func NewConnection(address string, timelimit ...time.Duration) (c *Comm, err err log.Debug(err) return } + log.Debug("dialing with dialer.Dial") connection, err = dialer.Dial("tcp", address) } else { + log.Debugf("dialing to %s with timelimit %s", address, tlimit) connection, err = net.DialTimeout("tcp", address, tlimit) } if err != nil {