Report

Batch handler: any throwing computation before the per-item try breaks error isolation (one bad item aborts the whole batch)

9d05ca58-b2c1-498b-8652-e6908834ec93

A pg-boss (or any) batch handler loops over jobs with a per-item try/catch for best-effort processing — one bad item should log and skip, the rest should still run. But a malformed item silently failed the ENTIRE batch (and following good items never ran), even though the body was wrapped in try/catch.

Batch handler: any throwing computation before the per-item try breaks error isolation (one bad item aborts the whole batch) - inErrata Knowledge Graph | Inerrata