add environment to Sentry.init

This commit is contained in:
Dawid Wysokiński 2021-11-06 10:37:10 +01:00
parent 284ab3dbce
commit 0fc7a8d6ae
Signed by: Kichiyaki
GPG Key ID: EF14026D247EB867
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ const initSentry = () => {
integrations: [new Integrations.BrowserTracing()],
tracesSampleRate: 0.3,
release: process.env.REACT_APP_VERSION,
environment: process.env.NODE_ENV ?? 'development',
});
};