Skip to content

Commit

Permalink
Log the number of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Nov 27, 2024
1 parent cdeaca3 commit f0ee8c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ingest/src/embedding/handleEmbeddingBatchSuccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ export async function handleEmbeddingBatchSuccess({
continue;
}

if (errors.length > 0) {
log.info(`Errors: ${errors.length}`);
}
lessonIdsCompleted.add(lessonId);
}

Expand Down

0 comments on commit f0ee8c8

Please sign in to comment.