Search the docs

↑↓ to move · Enter to open · Esc to close

Type to search every page. Results are grouped by section.

TalariaDocs
Dashboard

Docs › SDKs

View as Markdown

Next.js errors

captureRequestError, global-error, Server Actions, and Route Handlers.

Export captureRequestError as onRequestError from instrumentation.ts. Pair it with a global-error.tsx and with Talaria.captureException (or the client ErrorBoundary) in user space. Examples for a Server Action and a Route Handler are in examples/next/ of the JS SDK repository.

A missing or invalid key disables Talaria on that runtime; it must not fail the request. See fail-safe.

Was this helpful?