backblaze-labs/b2-action - v0.1.0
    Preparing search index...

    Function summarizeSyncErrors

    • Build a one-line summary of the first few sync errors for the dispatcher's top-level failure message. Without this, a sync that fails on three files surfaces only Sync completed with 3 error(s) to the user, who then has to dig into the (possibly collapsed) per-file warnings or parse summary-json. Including a sample makes the failure message itself diagnose-able.

      Parameters

      • events: SyncEvent[]
      • limit: number = 3

      Returns string