From ff13cf30e4a8dc38bd0f2ebed88dd158a3a3bb4c Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 14 Sep 2022 09:47:34 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=B9=E8=BF=9B=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/sync.go b/kernel/model/sync.go index b0804010b..c019592fc 100644 --- a/kernel/model/sync.go +++ b/kernel/model/sync.go @@ -345,7 +345,7 @@ 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") || strings.Contains(msgLowerCase, "context deadline exceeded") { msg = Conf.Language(24) - } else if strings.Contains(msgLowerCase, "connection was forcibly closed") { + } else if strings.Contains(msgLowerCase, "connection was") || strings.Contains(msgLowerCase, "reset by peer") { msg = Conf.Language(28) } else if strings.Contains(msgLowerCase, "cloud object not found") { msg = Conf.Language(129)