mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Use VERSION as sentry release (set by packaging scripts) (#7008)
This will be undefined for dev builds.
This commit is contained in:
parent
e20ac7bf1e
commit
a4e3c4090c
@ -201,7 +201,7 @@ export async function initSentry(sentryConfig: ISentryConfig): Promise<void> {
|
||||
if (!sentryConfig) return;
|
||||
Sentry.init({
|
||||
dsn: sentryConfig.dsn,
|
||||
release: process.env.RELEASE,
|
||||
release: process.env.VERSION,
|
||||
environment: sentryConfig.environment,
|
||||
defaultIntegrations: false,
|
||||
autoSessionTracking: false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user