Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
feat: put sentry back (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss authored Jun 7, 2021
1 parent 2a6b0f2 commit fc517cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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,
Expand Down

0 comments on commit fc517cf

Please sign in to comment.