Error monitoring
Errors and traces from the browser, server and edge on Sentry.The sentry slice reports errors to Sentry from the browser, the server and the edge, including the ones the app's error boundaries catch:
Set NEXT_PUBLIC_SENTRY_DSN from the Sentry project. For readable stack traces, also set SENTRY_AUTH_TOKEN, SENTRY_ORG and SENTRY_PROJECT at build time. Without the DSN, nothing is sent.
Uncaught errors report themselves. For one you handle but want seen:
No user fields, IP addresses, cookies, auth headers, query strings or request bodies are sent, and invitation tokens are cut out of URLs. Session replay is off unless NEXT_PUBLIC_SENTRY_REPLAY=1, and then only for sessions with an error, fully masked.
Edit this page on GitHub