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
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue