From c46a9d3ae0b1ea7a95e0fab63d0a40ecb5d750e7 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Fri, 20 Sep 2019 10:06:26 -0700 Subject: [PATCH] reduce complexity --- src/croc/croc.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/croc/croc.go b/src/croc/croc.go index 39eeda33..f737f599 100644 --- a/src/croc/croc.go +++ b/src/croc/croc.go @@ -267,6 +267,8 @@ func (c *Client) transferOverLocalRelay(options TransferOptions, errchan chan<- log.Debugf("banner: %s", banner) if err != nil { err = errors.Wrap(err, fmt.Sprintf("could not connect to localhost:%s", c.Options.RelayPorts[0])) + log.Debug(err) + // not really an error because it will try to connect over the actual realy return } log.Debugf("connection established: %+v", conn)