- Set up environments in Sentry to filter the errors from the Production server and the Staging server (and none from local machine instances)
- Filter slack notifications (#sentry-alerts) to only show Production errors
REPEAT FOR askdarcel-api AND askdarcel-web
(consider merging those two apps, or sending all errors through one)
Expected Behavior: Errors from Prod get reported to sentry prod environment and #sentry-alerts slack channel. errors from Staging get reported to sentry prod environment. errors from local machines do not get reported to Sentry.
Actual Behavior: While running the askdarcel app anywhere (even on local machines) all errors are reported to Sentry (which also posts to #sentry-alerts in Slack).
How to set it up with Sentry:
https://docs.sentry.io/enriching-error-data/environments/?platform=javascript
REPEAT FOR askdarcel-api AND askdarcel-web
(consider merging those two apps, or sending all errors through one)
Expected Behavior: Errors from Prod get reported to sentry prod environment and #sentry-alerts slack channel. errors from Staging get reported to sentry prod environment. errors from local machines do not get reported to Sentry.
Actual Behavior: While running the askdarcel app anywhere (even on local machines) all errors are reported to Sentry (which also posts to #sentry-alerts in Slack).
How to set it up with Sentry:
https://docs.sentry.io/enriching-error-data/environments/?platform=javascript