Add sentry environment

This commit is contained in:
wvffle 2022-07-31 21:06:21 +00:00 committed by Georg Krause
parent f52798b0d3
commit 5dbf85c7b7
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ const initSentry = async (app: App, router: Router) => {
routingInstrumentation: Sentry.vueRouterInstrumentation(router)
})
],
debug: import.meta.env.DEV,
environment: import.meta.env.MODE,
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production