From 2d5ec725829c65f46113dbcae25d7ca88ee5679a Mon Sep 17 00:00:00 2001 From: josephsmendoza Date: Fri, 8 Nov 2024 03:25:39 -0800 Subject: [PATCH] add release info to error tracking --- config.html | 1 + js/script.js | 1 + 2 files changed, 2 insertions(+) diff --git a/config.html b/config.html index 4dd73d6..bac7d81 100644 --- a/config.html +++ b/config.html @@ -100,6 +100,7 @@ sentry.init({ dsn:'https://f5fe0dec9f2f42dc80153b67e7e00dd0@app.glitchtip.com/8359', environment:location.hostname, + release:"1.1.0", integrations: [ sentry.feedbackIntegration({colorScheme:"light"}) ] diff --git a/js/script.js b/js/script.js index 235d080..345b5ef 100644 --- a/js/script.js +++ b/js/script.js @@ -2,6 +2,7 @@ import('https://cdn.jsdelivr.net/npm/@sentry/browser@8/+esm').then(sentry=>{ sentry.init({ dsn:'https://f5fe0dec9f2f42dc80153b67e7e00dd0@app.glitchtip.com/8359', environment:location.hostname, + release:"1.1.0" }) }).catch(e=>{ console.warn('automatic error reporting failed to load',e)