Closed ktravelet closed 2 years ago
Routing to @getsentry/owners-releases-ui for triage. ⏲️
I want to circle back before closing this. The issue was in my client file:
if (process.env.VERCEL) {
This environment variable is not exposed to the client side. For a next project you have to start env vars with NEXTPUBLIC in order to get them on the client. I ended up creating a NEXT_PUBLIC_SENTRY_INIT variable and set the conditional to that.
Thanks for the great product!!
Environment
SaaS (https://sentry.io/)
Version
No response
Steps to Reproduce
Github action:
sentry.client.config.js:
next.config.js:
vercel environment variables:
component button:
client failure in component button:
Expected Result
I'd expect my release (or any) dashboard to show information. Especially the self inflicted throw
Actual Result
release dashboard: