mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
1263cf148e
refs [ARCH-33](https://linear.app/tryghost/issue/ARCH-33/fix-sentry-environment) To ensure that we are correctly identifying the environment that data is being sent to Sentry from, we can use the `PRO_ENV` environment variable if it is available. This will be set to `production` in production and `staging` in staging. If `PRO_ENV` is not available, we will fall back to retrieving the environment from config (`env`) |
||
---|---|---|
.. | ||
config | ||
labs.test.js | ||
sentry.test.js | ||
settings-cache.test.js |