Skip to content

Commit ea38162

Browse files
committed
Added version to sentry
1 parent a5a7a5c commit ea38162

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

smo-frontend/src/components/CookieConsent.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import ReactCookieConsent, { getCookieConsentValue } from "react-cookie-consent"
55
import { Trans, useTranslation } from "react-i18next";
66

77
import { isSentryLoaded$ } from "../utils/data-manager";
8+
import { VERSION } from "../version";
89

910
function initializeSentry() {
1011
if (isSentryLoaded$.getValue()) return;
@@ -40,6 +41,7 @@ function initializeSentry() {
4041
}),
4142
feedbackIntegration,
4243
],
44+
release: VERSION,
4345
// Performance Monitoring
4446
tracesSampleRate: 1.0, // Capture 100% of the transactions
4547
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled

0 commit comments

Comments
 (0)