add release info to error tracking
This commit is contained in:
@@ -100,6 +100,7 @@
|
|||||||
sentry.init({
|
sentry.init({
|
||||||
dsn:'https://f5fe0dec9f2f42dc80153b67e7e00dd0@app.glitchtip.com/8359',
|
dsn:'https://f5fe0dec9f2f42dc80153b67e7e00dd0@app.glitchtip.com/8359',
|
||||||
environment:location.hostname,
|
environment:location.hostname,
|
||||||
|
release:"1.1.0",
|
||||||
integrations: [
|
integrations: [
|
||||||
sentry.feedbackIntegration({colorScheme:"light"})
|
sentry.feedbackIntegration({colorScheme:"light"})
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import('https://cdn.jsdelivr.net/npm/@sentry/browser@8/+esm').then(sentry=>{
|
|||||||
sentry.init({
|
sentry.init({
|
||||||
dsn:'https://f5fe0dec9f2f42dc80153b67e7e00dd0@app.glitchtip.com/8359',
|
dsn:'https://f5fe0dec9f2f42dc80153b67e7e00dd0@app.glitchtip.com/8359',
|
||||||
environment:location.hostname,
|
environment:location.hostname,
|
||||||
|
release:"1.1.0"
|
||||||
})
|
})
|
||||||
}).catch(e=>{
|
}).catch(e=>{
|
||||||
console.warn('automatic error reporting failed to load',e)
|
console.warn('automatic error reporting failed to load',e)
|
||||||
|
|||||||
Reference in New Issue
Block a user