Click the buttons below to trigger test errors and verify Sentry is working. Then check your Sentry dashboard to see them!
โ ๏ธ Test Page Only
Delete this file (app/test-sentry/page.tsx) before deploying to production!
app/test-sentry/page.tsx
Throws an uncaught error. Will be caught by ErrorBoundary and sent to Sentry.
Catches error with try/catch and manually sends to Sentry. Page stays functional.
Triggers an error in a server-side API route. Shows how backend errors are tracked.
Sends error with user info, tags, and custom data. Shows how to add debugging context.