feat: add releases to sentry (#919)
Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/919 Reviewed-by: dpschen <dpschen@noreply.kolaente.de> Co-authored-by: konrad <k@knt.li> Co-committed-by: konrad <k@knt.li>
This commit is contained in:
parent
7aede352f1
commit
1873c74776
1 changed files with 3 additions and 0 deletions
|
@ -1,8 +1,11 @@
|
||||||
|
import {VERSION} from './version.json'
|
||||||
|
|
||||||
export default async function setupSentry(app, router) {
|
export default async function setupSentry(app, router) {
|
||||||
const Sentry = await import('@sentry/vue')
|
const Sentry = await import('@sentry/vue')
|
||||||
const {Integrations} = await import('@sentry/tracing')
|
const {Integrations} = await import('@sentry/tracing')
|
||||||
|
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
|
release: VERSION,
|
||||||
app,
|
app,
|
||||||
dsn: window.SENTRY_DSN,
|
dsn: window.SENTRY_DSN,
|
||||||
integrations: [
|
integrations: [
|
||||||
|
|
Loading…
Reference in a new issue