diff --git a/kernel/model/tree.go b/kernel/model/tree.go index 65e180ab4..7e6c97a81 100644 --- a/kernel/model/tree.go +++ b/kernel/model/tree.go @@ -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 }