Skip to content

fix: use Rails.env if SENTRY_ENV is an empty string#656

Open
G-Rath wants to merge 1 commit intomainfrom
adjust-sentry
Open

fix: use Rails.env if SENTRY_ENV is an empty string#656
G-Rath wants to merge 1 commit intomainfrom
adjust-sentry

Conversation

@G-Rath
Copy link
Copy Markdown
Contributor

@G-Rath G-Rath commented Feb 17, 2026

This should be more flexible since some environments such as ECS error if an environment variable is defined without any value, which causes ENV.fetch to return an empty string rather than fall back to our default value

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.

2 participants