Sentry Test Page

Environment: production

Handled errors use captureExpected*Error() — they only reach Sentry in production. In dev they log to console only.
Unhandled errors are always captured by Sentry via the global error hooks.

1Prod only → Sentry

Handled Frontend Error

Caught in try/catch, forwarded via captureExpectedClientError(). Sentry in prod only.

2Always → Sentry

Unhandled Frontend Error

Thrown in event handler, never caught. Sentry captures via global onerror hook — always.

3Prod only → Sentry

Handled Server Error

Caught in action try/catch, forwarded via captureExpectedServerError(). Sentry in prod only.

4Always → Sentry

Unhandled Server Error

Thrown in action, never caught. Sentry captures via wrapHandleErrorWithSentry() — always.

Sends to Sentry in dev + prodSends to Sentry in prod only