Skip to content

Commit 161d934

Browse files
committed
chore: Add debug log for file processing error
1 parent e7b7c55 commit 161d934

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lib/repository.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ export async function indexRepository(qdrantClient: QdrantClient, repoPath: stri
210210
// errorCount++; // Or handle as appropriate
211211
}
212212
} catch (error: unknown) {
213+
logger.error(`[DEBUG] indexRepository: Error processing file ${filepath}`, { /* ... */ }); // Ensure errors in loops are logged
213214
logger.error(`Failed to index ${filepath}`, {
214215
message: error instanceof Error ? error.message : String(error)
215216
});

0 commit comments

Comments
 (0)