From 3479e0e8b50138597d3da73058e3969cab9facb1 Mon Sep 17 00:00:00 2001 From: Yaseen Ahmed Khan Date: Mon, 6 Apr 2026 12:41:00 +0530 Subject: [PATCH] logs error message as well --- cognite/extractorutils/unstable/core/runtime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cognite/extractorutils/unstable/core/runtime.py b/cognite/extractorutils/unstable/core/runtime.py index 4cedd4af..0749e945 100644 --- a/cognite/extractorutils/unstable/core/runtime.py +++ b/cognite/extractorutils/unstable/core/runtime.py @@ -334,7 +334,8 @@ def _safe_get_application_config( except Exception as e: error_message = str(e) if error_message == prev_error: - # Same error as before, no need to log it again + # Log the error again to make sure it is not missed + self.logger.error(f"{error_message}") self._cancellation_token.wait(randint(1, self.RETRY_CONFIG_INTERVAL)) continue self.logger.error(error_message)