Watch: Get told the moment my app throws an error | Vovy
Watch Vovy do it on a Mac: "Set up Sentry so I know when my app breaks for users". Vovy creates a Sentry project, runs the setup wizard in your repo, adds the DSN to Vercel, and fires a test error so you see it land.
"Set up Sentry so I know when my app breaks for users"
Vovy creates a Sentry project, runs the setup wizard in your repo, adds the DSN to Vercel, and fires a test error so you see it land.
What happens in the video
- Create a Sentry project: Vovy opens sentry.io, you sign in yourself, and it creates a project for your framework, like Next.js or React.
- Run the Sentry wizard: It runs npx @sentry/wizard@latest in Terminal, which adds the SDK and config files and sets up source maps so errors point to your real code.
- Add the DSN to Vercel: The DSN, Sentry's address for your project, goes into Vercel's Environment Variables for Production and Preview, plus the auth token for source maps.
- Trigger a test error: Vovy opens the example page the wizard created and clicks its test button, then watches for the issue in Sentry.
- Show your first issue: You get a card with the test error, the file and line it came from, and how the email alert will look.
Read the step-by-step guideLoading...