An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 改进同步报错提示文案
Liang Dingf0696342016d
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex c019592fc3..0133d5f64e 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") || strings.Contains(msgLowerCase, "reset by peer") {+ } else if strings.Contains(msgLowerCase, "connection was") || strings.Contains(msgLowerCase, "reset by peer") || strings.Contains(msgLowerCase, "refused") || strings.Contains(msgLowerCase, "socket") {msg = Conf.Language(28)} else if strings.Contains(msgLowerCase, "cloud object not found") {msg = Conf.Language(129)