An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Add logging https://github.com/siyuan-note/siyuan/issues/11447
Daniel8a47d448848e
diff --git a/kernel/model/import.go b/kernel/model/import.goindex 150912a9be..409f1fb1c1 100644--- a/kernel/model/import.go+++ b/kernel/model/import.go@@ -115,12 +115,13 @@ func ImportSY(zipPath, boxID, toPath string) (err error) {return}if 1 != len(unzipRootPaths) {- logging.LogErrorf("invalid .sy.zip")+ logging.LogErrorf("invalid .sy.zip [%v]", unzipRootPaths)return errors.New(Conf.Language(199))}unzipRootPath := unzipRootPaths[0]name := filepath.Base(unzipRootPath)if strings.HasPrefix(name, "data-20") && len("data-20230321175442") == len(name) {+ logging.LogErrorf("invalid .sy.zip [unzipRootPath=%s, baseName=%s]", unzipRootPath, name)return errors.New(Conf.Language(199))}