Skip to content

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

:art: Improve tx

Daniel8a82ce0feb65
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go
index a43979cb4e..e55f412cb1 100644
--- a/kernel/model/transaction.go
+++ b/kernel/model/transaction.go
@@ -1051,11 +1051,6 @@ func (tx *Transaction) doUpdate(operation *Operation) (ret *TxErr) {
id := operation.ID
tree, err := tx.loadTree(id)
if nil != err {
- if errors.Is(err, ErrBlockNotFound) {
- logging.LogWarnf("not found block [%s]", id)
- return
- }
-
logging.LogErrorf("load tree [%s] failed: %s", id, err)
return &TxErr{code: TxErrCodeBlockNotFound, id: id}
}