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: Add version info at the end of message in all error notifications Fix https://github.com/siyuan-note/siyuan/issues/7899
Liang Ding86cbf95d5bb6
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex 97eb788b55..1f825cd1cb 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -518,7 +518,6 @@ func formatErrorMsg(err error) string {msg = Conf.Language(28)}}- msg = msg + " v" + util.Verreturn msg}diff --git a/kernel/util/websocket.go b/kernel/util/websocket.goindex 8892f2bb75..9bcf48e8be 100644--- a/kernel/util/websocket.go+++ b/kernel/util/websocket.go@@ -142,6 +142,7 @@ func PushMsg(msg string, timeout int) (msgId string) {func PushErrMsg(msg string, timeout int) (msgId string) {msgId = gulu.Rand.String(7)+ msg += msg + " v" + Ver // Add version info at the end of message in all error notifications https://github.com/siyuan-note/siyuan/issues/7899BroadcastByType("main", "msg", -1, msg, map[string]interface{}{"id": msgId, "closeTimeout": timeout})return}