You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In Next.js-project, errors inside pages/api not caught by Sentry when deployed on Vercel #11708
Activity
s1gr1d commentedon Apr 22, 2024
Hello, thanks for reaching out! Did you use the wizard for setting up Sentry or did you set it up manually?
Where did you set up
init? If you haven't already, you need to set up theinitfunction insentry.server.(js|ts)to make it work on the server-side.Danane84 commentedon Apr 22, 2024
Hi Sigrid, thanks for your quick reply!
I set up Sentry by using the wizard. My
initis located insentry.server.config.jsinside the root-directory of my project and looks as follows:Liebe Grüße von Wien nach Wien ;)
s1gr1d commentedon Apr 22, 2024
Servus!
This setup seems correct so far. Some additional things you could check:
SENTRY_DSNvariable defined?debug: true)