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)