Skip to content

fix: configure Sentry environment at build time - #991

Merged
PaulHax merged 1 commit into
Kitware:mainfrom
PaulHax:sentry-environment
Oct 24, 2026
Merged

PaulHax merged 1 commit into
Kitware:mainfrom
PaulHax:sentry-environment

Conversation

@PaulHax

@PaulHax PaulHax commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

VolView currently labels Sentry events from both the production and development sites as production. Pass the optional VITE_SENTRY_ENVIRONMENT build variable to Sentry so each deployment can use its own environment label.

Document the variable in .env.example. An unset or empty value keeps Sentry's default production environment.

@netlify

netlify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 28d5cd7
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6adcfdabea7d4cc6397185bd
😎 Deploy Preview https://deploy-preview-991--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PaulHax
PaulHax merged commit fc62bda into Kitware:main Oct 24, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant