From 837c8cea2b12f3c4288ff43789e2af98368a5ce5 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 20 Jul 2026 10:36:59 +0100 Subject: [PATCH] feat: add default DSN fallback for Sentry initialization --- js/sentry.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/sentry.js b/js/sentry.js index 78cbe70..a50675e 100644 --- a/js/sentry.js +++ b/js/sentry.js @@ -5,8 +5,9 @@ export function initSentry() { try { + const defaultDsn = "https://a5a64d2190093ce4b8972dd9a6907828@o4511766757244928.ingest.de.sentry.io/4511766900310096"; const metaDsn = document.querySelector('meta[name="sentry-dsn"]')?.getAttribute('content'); - const dsn = window.SENTRY_DSN || window.RTS_SENTRY_DSN || metaDsn; + const dsn = window.SENTRY_DSN || window.RTS_SENTRY_DSN || metaDsn || defaultDsn; if (!dsn) { return;