From 51079e5cf39af8f5d458a0c67765e06798461125 Mon Sep 17 00:00:00 2001 From: Muhammad Umar Khan <42294172+mumarkhan999@users.noreply.github.com> Date: Wed, 26 Jul 2023 22:13:12 +0500 Subject: [PATCH] fix: remove record exception to avoid error rate on NR (#32850) --- xmodule/modulestore/split_mongo/mongo_connection.py | 1 - 1 file changed, 1 deletion(-) diff --git a/xmodule/modulestore/split_mongo/mongo_connection.py b/xmodule/modulestore/split_mongo/mongo_connection.py index 76821cd4007a..33f09352b958 100644 --- a/xmodule/modulestore/split_mongo/mongo_connection.py +++ b/xmodule/modulestore/split_mongo/mongo_connection.py @@ -257,7 +257,6 @@ def set(self, key, structure, course_context=None): # .. custom_attribute_description: contains the data chunk size in MBs. The size on which # the memcached client failed to store value in course structure cache. monitoring.set_custom_attribute('split_mongo_compressed_size', chunk_size_in_mbs) - monitoring.record_exception() log.info('Data caching (course structure) failed on chunk size: {} MB'.format(chunk_size_in_mbs))