chore: Upgrade @sentry/vue to 6.4.1 (#2332)

This commit is contained in:
Pranav Raj S
2021-05-25 14:10:09 +05:30
committed by GitHub
parent cfdf4a12c8
commit 12c68e8a3c
3 changed files with 65 additions and 48 deletions

View File

@@ -32,11 +32,16 @@ import {
} from '../dashboard/helper/pushHelper';
import * as Sentry from '@sentry/vue';
import 'vue-easytable/libs/theme-default/index.css';
import { Integrations } from '@sentry/tracing';
Vue.config.env = process.env;
if (window.errorLoggingConfig) {
Sentry.init({ Vue: Vue, dsn: window.errorLoggingConfig });
Sentry.init({
Vue,
dsn: window.errorLoggingConfig,
integrations: [new Integrations.BrowserTracing()],
});
}
Vue.use(VueRouter);