mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Don't throw error if cannot connect to server
This commit is contained in:
parent
abc5e3f6c0
commit
95c2b0f48a
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ func (c *Client) Send(options TransferOptions) (err error) {
|
|||
log.Debugf("banner: %s", banner)
|
||||
if err != nil {
|
||||
err = errors.Wrap(err, fmt.Sprintf("could not connect to %s", c.Options.RelayAddress))
|
||||
log.Debug(err)
|
||||
return
|
||||
}
|
||||
log.Debugf("connection established: %+v", conn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue