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 Dinge43a91693085
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 380105bf12..54ee0668bb 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -348,7 +348,7 @@ func formatErrorMsg(err error) string {} else if strings.Contains(msgLowerCase, "cipher: message authentication failed") {msg = Conf.Language(135)} else if strings.Contains(msgLowerCase, "repo fatal error") {- msg = Conf.Language(23) + " " + err.Error()+ msg = Conf.Language(23)} else if strings.Contains(msgLowerCase, "no such host") || strings.Contains(msgLowerCase, "connection failed") || strings.Contains(msgLowerCase, "hostname resolution") || strings.Contains(msgLowerCase, "No address associated with hostname") {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") {