errorcore
Capturing Errors

Automatic Capture

Automatic capture is the default path for unhandled exceptions and framework-level error surfaces. Use it when you want the SDK to record failures that already represent a broken request or broken job execution.

Enable it early and let the framework route uncaught failures into the SDK integration layer. This keeps the reported incident aligned with the real failure boundary instead of a later logging hook.

Expected result:

  • one incident per unhandled failure
  • request metadata attached if a request scope exists
  • local variables and IO included when those features are enabled

On this page