Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:mute: Remove logs https://github.com/siyuan-note/siyuan/issues/6756

Daniel3ae4a3094c96
diff --git a/kernel/model/tag.go b/kernel/model/tag.go
index d644352d2b..729ad4d8ad 100644
--- a/kernel/model/tag.go
+++ b/kernel/model/tag.go
@@ -25,7 +25,6 @@ import (
"github.com/88250/gulu"
"github.com/88250/lute/ast"
"github.com/emirpasic/gods/sets/hashset"
- "github.com/siyuan-note/logging"
"github.com/siyuan-note/siyuan/kernel/search"
"github.com/siyuan-note/siyuan/kernel/sql"
"github.com/siyuan-note/siyuan/kernel/treenode"
@@ -303,7 +302,6 @@ func sortTags(tags Tags) {
func SearchTags(keyword string) (ret []string) {
ret = []string{}
- defer logging.Recover() // 定位 无法添加题头图标签 https://github.com/siyuan-note/siyuan/issues/6756
sql.FlushQueue()