mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
reduce complexity
This commit is contained in:
parent
ae81dd9a7b
commit
c46a9d3ae0
1 changed files with 2 additions and 0 deletions
|
@ -267,6 +267,8 @@ func (c *Client) transferOverLocalRelay(options TransferOptions, errchan chan<-
|
||||||
log.Debugf("banner: %s", banner)
|
log.Debugf("banner: %s", banner)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = errors.Wrap(err, fmt.Sprintf("could not connect to localhost:%s", c.Options.RelayPorts[0]))
|
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
|
return
|
||||||
}
|
}
|
||||||
log.Debugf("connection established: %+v", conn)
|
log.Debugf("connection established: %+v", conn)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue