Skip to content

Commit eb76b32

Browse files
committed
fix: log error and continue processing on failure to delete points for removed files
1 parent b2bf880 commit eb76b32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/code-index/processors/scanner.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ export class DirectoryScanner implements IDirectoryScanner {
311311
),
312312
)
313313
}
314-
// Re-throw to maintain consistent error handling
315-
throw error
314+
// Log error and continue processing instead of re-throwing
315+
console.error(`Failed to delete points for removed file: ${cachedFilePath}`, error)
316316
}
317317
}
318318
}

0 commit comments

Comments
 (0)