📝 云端数据损坏问题解决提示

This commit is contained in:
Liang Ding 2022-07-30 10:39:14 +08:00
parent 8b8c948731
commit 18bf5a7eae
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 7 additions and 5 deletions

View file

@ -336,6 +336,8 @@ func formatErrorMsg(err error) string {
msg = Conf.Language(24)
} else if strings.Contains(msgLowerCase, "net/http: request canceled while waiting for connection") || strings.Contains(msgLowerCase, "exceeded while awaiting") {
msg = Conf.Language(24) + " net/http timeout"
} else if strings.Contains(msgLowerCase, "cloud object not found") {
msg = Conf.Language(129)
}
msg = msg + " v" + util.Ver
return msg