Daniel 2024-04-27 13:31:13 +08:00
parent 0312e968a1
commit 4773700a6e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -245,6 +245,7 @@ func searchTreeInFilesystem(rootID string) {
treePath = strings.TrimPrefix(treePath, boxID)
treePath = filepath.ToSlash(treePath)
if nil == Conf.Box(boxID) {
logging.LogInfof("box [%s] not found", boxID)
// 如果笔记本不存在或者已经关闭,则不处理 https://github.com/siyuan-note/siyuan/issues/11149
return
}