You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Use VERSION as sentry release (set by packaging scripts) (#7008)
This will be undefined for dev builds.
This commit is contained in:
@@ -201,7 +201,7 @@ export async function initSentry(sentryConfig: ISentryConfig): Promise<void> {
|
|||||||
if (!sentryConfig) return;
|
if (!sentryConfig) return;
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: sentryConfig.dsn,
|
dsn: sentryConfig.dsn,
|
||||||
release: process.env.RELEASE,
|
release: process.env.VERSION,
|
||||||
environment: sentryConfig.environment,
|
environment: sentryConfig.environment,
|
||||||
defaultIntegrations: false,
|
defaultIntegrations: false,
|
||||||
autoSessionTracking: false,
|
autoSessionTracking: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user