Selaa lähdekoodia

:bug: https://github.com/siyuan-note/siyuan/issues/11149

Daniel 1 vuosi sitten
vanhempi
commit
4773700a6e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      kernel/model/tree.go

+ 1 - 0
kernel/model/tree.go

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