fix: 强化图谱重建与写入错误处理

This commit is contained in:
Youzini-afk
2026-03-24 22:34:38 +08:00
parent d4d527237e
commit 7cab764d79
3 changed files with 204 additions and 41 deletions

View File

@@ -666,6 +666,7 @@ function _bindActions() {
}
} catch (error) {
console.error(`[ST-BME] Action ${actionKey} failed:`, error);
toastr.error(`操作失败: ${error?.message || error}`);
}
});
}
@@ -683,6 +684,7 @@ function _bindActions() {
_refreshGraph();
} catch (error) {
console.error("[ST-BME] Action rebuildVectorRange failed:", error);
toastr.error(`操作失败: ${error?.message || error}`);
}
});
}