refactor: use window.newrelic directly
This commit is contained in:
@@ -21,7 +21,6 @@ import router, { initalizeRouter } from 'dashboard/routes';
|
||||
import store from 'dashboard/store';
|
||||
import constants from 'dashboard/constants/globals';
|
||||
import * as Sentry from '@sentry/vue';
|
||||
|
||||
import {
|
||||
initializeAnalyticsEvents,
|
||||
initializeChatwootEvents,
|
||||
@@ -48,12 +47,6 @@ app.use(i18n);
|
||||
app.use(store);
|
||||
app.use(router);
|
||||
|
||||
window.logrelic = (message, options = {}) => {
|
||||
if (window.newrelic) {
|
||||
window.newrelic.log(message, { level: 'debug' }, options);
|
||||
}
|
||||
};
|
||||
|
||||
// [VITE] Disabled this, need to renable later
|
||||
if (window.errorLoggingConfig) {
|
||||
Sentry.init({
|
||||
|
||||
Reference in New Issue
Block a user