From a916df33adb84449da7577293d79419b40a89bf8 Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Mon, 4 Jul 2022 15:59:12 +0100 Subject: [PATCH] s/release/env --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 956ce9c..45bd835 100644 --- a/src/main.ts +++ b/src/main.ts @@ -48,12 +48,12 @@ async function main() { if (config.sentry) { Sentry.init({ dsn: config.sentry.dsn, - release: "my-project-name@2.3.12", + environment: config.sentry.environment, integrations: [new BrowserTracing()], - }); Sentry.setTag("homeserver", config.homeserver); Sentry.setTag("encrypt_room", config.encrypt_room); + if (config.invite_user) { Sentry.setTag("mode", "invite_user"); } else if (config.auto_join_room) { -- GitLab