From fc517cfba4c435e3d45b562a45bba86cb50bdb47 Mon Sep 17 00:00:00 2001 From: Regis Freyd Date: Sun, 6 Jun 2021 22:46:03 -0400 Subject: [PATCH] feat: put sentry back (#989) --- resources/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index b2ddbb249..8085feb5b 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -4,7 +4,7 @@ require('./bootstrap'); import { createApp, h } from 'vue'; import { App as InertiaApp, plugin as InertiaPlugin } from '@inertiajs/inertia-vue3'; import { InertiaProgress } from '@inertiajs/progress'; -//import Sentry from './sentry'; +import Sentry from './sentry'; const langs = require('./langs').default; @@ -23,12 +23,12 @@ langs.loadLanguage(document.querySelector('html').getAttribute('lang'), true) }), mounted() { this.$nextTick(() => { - //Sentry.setContext(this, locale); + Sentry.setContext(this, locale); }); } }); - //Sentry.init(app, process.env.MIX_SENTRY_RELEASE); + Sentry.init(app, process.env.MIX_SENTRY_RELEASE); app.mixin({ methods: _.assign({ route,