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: Sync logging
Liang Dingff5e13995fb4
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex bc26468112..a7d6460376 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -332,7 +332,7 @@ func formatErrorMsg(err error) string {msg = Conf.Language(172) + " " + 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") {+ } else if strings.Contains(msgLowerCase, "no such host") || strings.Contains(msgLowerCase, "connection failed") || strings.Contains(msgLowerCase, "hostname resolution") {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"