You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.error(`Skipping diff chunk due to invalid commit OID or changed file path for ID generation. Commit OID: ${commit.oid}, FilePath: ${changedFile.path}`);
vector: awaitllmProvider.generateEmbedding(diffContextualText),// Embedding done here
627
639
payload: diffPayload,
628
640
});
629
641
}catch(embedError){
630
-
logger.error(`Failed to generate embedding for diff chunk of ${changedFile.path} in commit ${commit.oid}`,{error: embedErrorinstanceofError ? embedError.message : String(embedError)});
642
+
// This catch block will now primarily catch errors from llmProvider.generateEmbedding for diffs
643
+
logger.error(`Failed to process or generate embedding for diff chunk of ${changedFile.path} in commit ${commit.oid}`,{error: embedErrorinstanceofError ? embedError.message : String(embedError)});
0 commit comments