Closed jacobtomlinson closed 7 years ago
Local development should not trigger alerts in sentry. Perhaps a check for an env var of ENVIRONMENT=production or similar and the setting of that var in the docker compose file would be best.
ENVIRONMENT=production
Maybe here.
if (process.env.ENVIRONMENT == "production") { raven.context(function() { main(); }); } else { main(); }
Done. Waiting to deploy next week.
Local development should not trigger alerts in sentry. Perhaps a check for an env var of
ENVIRONMENT=production
or similar and the setting of that var in the docker compose file would be best.