From 36a7a16a754e6964344a23249dc8ac212085df36 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 18 Mar 2025 09:47:55 +0530 Subject: [PATCH] feat: remove sentry log --- .../dashboard/store/modules/conversations/index.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/javascript/dashboard/store/modules/conversations/index.js b/app/javascript/dashboard/store/modules/conversations/index.js index abfb44954..55995c0a2 100644 --- a/app/javascript/dashboard/store/modules/conversations/index.js +++ b/app/javascript/dashboard/store/modules/conversations/index.js @@ -6,7 +6,6 @@ import { MESSAGE_STATUS } from 'shared/constants/messages'; import wootConstants from 'dashboard/constants/globals'; import { BUS_EVENTS } from '../../../../shared/constants/busEvents'; import { emitter } from 'shared/helpers/mitt'; -import * as Sentry from '@sentry/vue'; const makeCompactJson = obj => { // get rid of irrelevant data @@ -238,18 +237,6 @@ export const mutations = { // ignore out of order events if (conversation.updated_at < selectedConversation.updated_at) { - Sentry.withScope(scope => { - scope.setTag('account_id', conversation.account_id); - scope.setTag('conversation_id', conversation.id); - - scope.setContext('incoming', conversation); - scope.setContext('stored', selectedConversation); - scope.setContext('incoming_meta', conversation.meta); - scope.setContext('stored_meta', selectedConversation.meta); - - Sentry.captureMessage('Conversation update mismatch'); - }); - if (window.newrelic) { window.newrelic.log( `conversation update mismatch for ${conversation.id} with incoming ${makeCompactJson(conversation)} and stored ${makeCompactJson(selectedConversation)}`,