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

This commit is contained in:
Liang Ding
2022-09-28 12:25:35 +08:00
parent e4dade95b7
commit 666f6c9eed

View File

@@ -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