Skip to content

Commit

Permalink
Update app/assets/javascripts/sentry.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Niko Strijbol <[email protected]>
  • Loading branch information
jorg-vr and niknetniko authored Jun 4, 2024
1 parent 0c54f3b commit 15c76c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function initSentry(): void {
const environmentTag = document.querySelector("meta[name='environment']");
const environment = environmentTag?.getAttribute("content") ?? "unknown";
const releaseTag = document.querySelector("meta[name='version']");
const release = releaseTag ? releaseTag.getAttribute("content") : "unknown";
const release = releaseTag?.getAttribute("content") ?? "unknown";

// config options can be found at https://docs.sentry.io/platforms/javascript/configuration/
Sentry.init({
Expand Down

0 comments on commit 15c76c4

Please sign in to comment.