Merge pull request #682 from vihu/rg/update-error-message

Update error message to be more verbose
This commit is contained in:
Zack 2024-03-31 12:07:45 -07:00 committed by GitHub
commit 4e75e131c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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