mirror of https://github.com/schollz/croc.git
Merge pull request #682 from vihu/rg/update-error-message
Update error message to be more verbose
This commit is contained in:
commit
4e75e131c4
|
@ -1052,7 +1052,7 @@ func (c *Client) transfer() (err error) {
|
|||
}
|
||||
if err != nil && strings.Contains(err.Error(), "unexpected end of JSON input") {
|
||||
log.Debugf("error: %s", err.Error())
|
||||
err = fmt.Errorf("room not ready")
|
||||
err = fmt.Errorf("room (secure channel) not ready, maybe peer disconnected")
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue