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: 细化报错信息 https://ld246.com/article/1657638947016
Liang Ding309eaa2cfc26
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 26ad4626c5..67a7b7beba 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -289,11 +289,11 @@ func ListCloudSyncDir() (syncDirs []*Sync, hSize string, err error) {func formatErrorMsg(err error) string {msg := err.Error()if strings.Contains(msg, "Permission denied") || strings.Contains(msg, "Access is denied") {- msg = Conf.Language(33)+ msg = Conf.Language(33) + " " + err.Error()} else if strings.Contains(msg, "Device or resource busy") {- msg = Conf.Language(85)+ msg = Conf.Language(85) + " " + err.Error()} else if strings.Contains(msg, "cipher: message authentication failed") {- msg = Conf.Language(172)+ msg = Conf.Language(172) + " " + err.Error()}msg = msg + " v" + util.Verreturn msg