Skip to content

Commit f72f6c2

Browse files
committed
fix: improve error handling during vector store deletion
1 parent 57f00a6 commit f72f6c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/services/code-index/vector-store/qdrant-client.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,13 @@ export class QdrantVectorStore implements IVectorStore {
491491
// Include first few file paths for debugging (avoid logging too many)
492492
samplePaths: filePaths.slice(0, 3),
493493
})
494+
console.error(
495+
`[QdrantVectorStore] Deletion error occurred Stack trace:`,
496+
error?.stack || "No stack trace available",
497+
)
494498

495-
throw error
499+
// Don't throw - allow the operation to continue despite deletion failure
500+
// This prevents workflow disruption when vector store cleanup fails
496501
}
497502
}
498503

0 commit comments

Comments
 (0)