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

This commit is contained in:
Liang Ding 2023-03-18 22:54:11 +08:00
parent fb4db3d745
commit d7473b7a6d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -211,7 +211,9 @@ func (box *Box) saveConf0(data []byte) {
logging.LogErrorf("save box conf [%s] failed: %s", confPath, err) logging.LogErrorf("save box conf [%s] failed: %s", confPath, err)
} }
if err := filelock.WriteFile(confPath, data); nil != 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
} }
} }