From cd8518b9de027e800e657f7d3ff8cc85ec22e9ca Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Wed, 18 Aug 2021 16:55:50 +0200 Subject: [PATCH] Merge pull request #4789 from overleaf/jpa-sentry-environment [sentry] pass 'staging'/'production' environment into client setup GitOrigin-RevId: d8d78d945daa2b833757304d8027afb26ea490c6 --- services/web/frontend/js/infrastructure/error-reporter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/frontend/js/infrastructure/error-reporter.js b/services/web/frontend/js/infrastructure/error-reporter.js index 1c95ba0b9a..c63929d9c4 100644 --- a/services/web/frontend/js/infrastructure/error-reporter.js +++ b/services/web/frontend/js/infrastructure/error-reporter.js @@ -11,6 +11,7 @@ function sentryReporter() { Sentry.init({ dsn: window.ExposedSettings.sentryDsn, + environment: window.ExposedSettings.sentryEnvironment, release: window.ExposedSettings.sentryRelease, autoSessionTracking: false,