reduce complexity

This commit is contained in:
Zack Scholl 2019-09-20 10:06:26 -07:00
parent ae81dd9a7b
commit c46a9d3ae0
1 changed files with 2 additions and 0 deletions

View File

@ -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)