Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: 云端数据同步报错导致界面溢出异常 Fix https://github.com/siyuan-note/siyuan/issues/5999

Liang Ding666f6c9eedce
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index 2e961dc65f..417a6f5f3b 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -122,7 +122,7 @@ func SyncData(boot, exit, byHand bool) {
if nil == err {
synced += Conf.Sync.Stat
} else {
- synced += fmt.Sprintf(Conf.Language(80), err)
+ synced += fmt.Sprintf(Conf.Language(80), formatErrorMsg(err))
}
msg := fmt.Sprintf(Conf.Language(82), synced)
Conf.Sync.Stat = msg