add release info to error tracking

This commit is contained in:
josephsmendoza
2024-11-08 03:25:39 -08:00
parent b7108f729b
commit 2d5ec72582
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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)