📝 更新同步密钥不匹配提示文案

This commit is contained in:
Liang Ding 2022-07-30 10:22:46 +08:00
parent e59baa357e
commit efa0564ef1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -329,7 +329,7 @@ func formatErrorMsg(err error) string {
} else if strings.Contains(msgLowerCase, "device or resource busy") || strings.Contains(msg, "is being used by another") {
msg = fmt.Sprintf(Conf.Language(85), err)
} else if strings.Contains(msgLowerCase, "cipher: message authentication failed") {
msg = Conf.Language(172) + " " + err.Error()
msg = Conf.Language(135) + " " + err.Error()
} else if strings.Contains(msgLowerCase, "repo fatal error") {
msg = Conf.Language(23) + " " + err.Error()
} else if strings.Contains(msgLowerCase, "no such host") || strings.Contains(msgLowerCase, "connection failed") || strings.Contains(msgLowerCase, "hostname resolution") {