Skip to content

Add environment variable $SWH_SENTRY_ENVIRONMENT

This allows initializing Sentry with the environment the process is running in (ie. "production" or "staging"), which allows filtering in the web UI to only show issues happening in one of the environments.

https://docs.sentry.io/enriching-error-data/environments/?platform=python


Migrated from D2572 (view on Phabricator)

Merge request reports