feat: add releases to sentry #919
|
@ -1,8 +1,11 @@
|
|||
import {VERSION} from './version.json'
|
||||
|
||||
export default async function setupSentry(app, router) {
|
||||
const Sentry = await import('@sentry/vue')
|
||||
const {Integrations} = await import('@sentry/tracing')
|
||||
|
||||
Sentry.init({
|
||||
release: VERSION,
|
||||
app,
|
||||
dsn: window.SENTRY_DSN,
|
||||
integrations: [
|
||||
|
|
Reference in New Issue
Block a user