fix: improve error handling during vector store deletion

This commit is contained in:
daniel-lxs 2025-08-25 13:41:59 -05:00
parent 57f00a665b
commit f72f6c2333
No known key found for this signature in database
GPG key ID: 21C74479048B3AA6

View file

@ -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
}
}