mirror of https://github.com/schollz/croc.git
Don't throw error if cannot connect to server
This commit is contained in:
parent
abc5e3f6c0
commit
95c2b0f48a
|
@ -295,6 +295,7 @@ func (c *Client) Send(options TransferOptions) (err error) {
|
||||||
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 %s", c.Options.RelayAddress))
|
err = errors.Wrap(err, fmt.Sprintf("could not connect to %s", c.Options.RelayAddress))
|
||||||
|
log.Debug(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Debugf("connection established: %+v", conn)
|
log.Debugf("connection established: %+v", conn)
|
||||||
|
|
Loading…
Reference in New Issue