From f72f6c23330f39d650121f25cf1a75f4043c1da7 Mon Sep 17 00:00:00 2001 From: daniel-lxs Date: Mon, 25 Aug 2025 13:41:59 -0500 Subject: [PATCH] fix: improve error handling during vector store deletion --- src/services/code-index/vector-store/qdrant-client.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/services/code-index/vector-store/qdrant-client.ts b/src/services/code-index/vector-store/qdrant-client.ts index 50f39666c4..38ac195df0 100644 --- a/src/services/code-index/vector-store/qdrant-client.ts +++ b/src/services/code-index/vector-store/qdrant-client.ts @@ -491,8 +491,13 @@ export class QdrantVectorStore implements IVectorStore { // Include first few file paths for debugging (avoid logging too many) samplePaths: filePaths.slice(0, 3), }) + console.error( + `[QdrantVectorStore] Deletion error occurred Stack trace:`, + error?.stack || "No stack trace available", + ) - throw error + // Don't throw - allow the operation to continue despite deletion failure + // This prevents workflow disruption when vector store cleanup fails } }