Skip to content

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

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

Daniel267a143af5f7
diff --git a/kernel/model/index.go b/kernel/model/index.go
index 700fc73ad8..35e5f7f32b 100644
--- a/kernel/model/index.go
+++ b/kernel/model/index.go
@@ -378,6 +378,7 @@ func subscribeSQLEvents() {
}
if nil == context["current"] || nil == context["total"] {
+ logging.LogWarnf("EvtSQLInsertBlocksFTS handler missing key [current] or [total] in context")
return
}
current := context["current"].(int)
@@ -392,6 +393,7 @@ func subscribeSQLEvents() {
}
if nil == context["current"] || nil == context["total"] {
+ logging.LogWarnf("EvtSQLDeleteBlocks handler missing key [current] or [total] in context")
return
}
current := context["current"].(int)
@@ -406,6 +408,7 @@ func subscribeSQLEvents() {
}
if nil == context["current"] || nil == context["total"] {
+ logging.LogWarnf("EvtSQLUpdateBlocksHPaths handler missing key [current] or [total] in context")
return
}
current := context["current"].(int)
@@ -421,6 +424,7 @@ func subscribeSQLEvents() {
}
if nil == context["current"] || nil == context["total"] {
+ logging.LogWarnf("EvtSQLInsertHistory handler missing key [current] or [total] in context")
return
}
current := context["current"].(int)
@@ -436,6 +440,7 @@ func subscribeSQLEvents() {
}
if nil == context["current"] || nil == context["total"] {
+ logging.LogWarnf("EvtSQLInsertAssetContent handler missing key [current] or [total] in context")
return
}
current := context["current"].(int)