add environment to Sentry.init
This commit is contained in:
parent
284ab3dbce
commit
0fc7a8d6ae
|
@ -11,6 +11,7 @@ const initSentry = () => {
|
||||||
integrations: [new Integrations.BrowserTracing()],
|
integrations: [new Integrations.BrowserTracing()],
|
||||||
tracesSampleRate: 0.3,
|
tracesSampleRate: 0.3,
|
||||||
release: process.env.REACT_APP_VERSION,
|
release: process.env.REACT_APP_VERSION,
|
||||||
|
environment: process.env.NODE_ENV ?? 'development',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in New Issue