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.
Sends to Sentry in dev + prodSends to Sentry in prod only