From 0efca7f4227ba6812278b1796511dea0bf8576b2 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 13 Mar 2025 14:40:54 +0530 Subject: [PATCH] feat: remove sentry overlap logs --- .../dashboard/store/modules/conversations/index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/javascript/dashboard/store/modules/conversations/index.js b/app/javascript/dashboard/store/modules/conversations/index.js index d873516fb..0018e8468 100644 --- a/app/javascript/dashboard/store/modules/conversations/index.js +++ b/app/javascript/dashboard/store/modules/conversations/index.js @@ -256,18 +256,6 @@ export const mutations = { // in case the timestamp is the same, we track it and let it update 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 overlap'); - }); - if (window.newrelic) { window.newrelic.log( `conversation update overlap for ${conversation.id} with incoming ${makeCompactJson(conversation)} and stored ${makeCompactJson(selectedConversation)}`,