From f33df141c6d3a56fbdb4176feca2e993de058cea Mon Sep 17 00:00:00 2001 From: Muhammad Umar Khan Date: Wed, 26 Jul 2023 21:51:56 +0500 Subject: [PATCH] fix: remove record exception to avoid error rate on NR --- 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))