Home / Function/ logFailedSections() — supabase Function Reference

logFailedSections() — supabase Function Reference

Architecture documentation for the logFailedSections() function in utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  fc27864f_26ae_78ff_8b98_6c9041e3be13["logFailedSections()"]
  b6da1e2f_3534_5430_6fdb_1a60bda504b3["processEmbeddingBatch()"]
  b6da1e2f_3534_5430_6fdb_1a60bda504b3 -->|calls| fc27864f_26ae_78ff_8b98_6c9041e3be13
  style fc27864f_26ae_78ff_8b98_6c9041e3be13 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/search/embeddings/utils.ts lines 96–106

export function logFailedSections(
  batch: PageSectionForEmbedding[],
  inputs: string[],
  failedSectionIndexes: Set<number>
) {
  failedSectionIndexes.forEach((i) => {
    console.error(
      `Failed to process section: ${batch[i].path}#${batch[i].slug} (content: "${inputs[i]?.slice(0, 50)}...")`
    )
  })
}

Subdomains

Frequently Asked Questions

What does logFailedSections() do?
logFailedSections() is a function in the supabase codebase.
What calls logFailedSections()?
logFailedSections() is called by 1 function(s): processEmbeddingBatch.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free