Skip to content

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

:art: 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683

Liang Dingd7473b7a6db9
diff --git a/kernel/model/box.go b/kernel/model/box.go
index 2a90544171..2464c06ecc 100644
--- a/kernel/model/box.go
+++ b/kernel/model/box.go
@@ -211,7 +211,9 @@ func (box *Box) saveConf0(data []byte) {
logging.LogErrorf("save box conf [%s] failed: %s", confPath, err)
}
if err := filelock.WriteFile(confPath, data); nil != err {
- logging.LogErrorf("save box conf [%s] failed: %s", confPath, err)
+ logging.LogErrorf("write box conf [%s] failed: %s", confPath, err)
+ util.ReportFileSysFatalError(err)
+ return
}
}