🎨 改进网络超时报错提示
This commit is contained in:
parent
d4ea798b16
commit
b78101a140
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ func formatErrorMsg(err error) string {
|
|||
} else if strings.Contains(msg, "no such host") || strings.Contains(msg, "connection failed") {
|
||||
msg = Conf.Language(24)
|
||||
} else if strings.Contains(msg, "net/http: request canceled while waiting for connection") {
|
||||
msg = Conf.Language(24)
|
||||
msg = Conf.Language(24) + " net/http timeout"
|
||||
}
|
||||
msg = msg + " v" + util.Ver
|
||||
return msg
|
||||
|
|
Loading…
Add table
Reference in a new issue