From 0642f1bac1a94e0ded12b87b062fd70c16e15d63 Mon Sep 17 00:00:00 2001 From: xuyan wang <35394786+wayyoungboy@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:59:14 +0800 Subject: [PATCH] when init_option Exception , add use stdio.error the msg (#419) --- handler/analyzer/analyze_index_space.py | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/analyzer/analyze_index_space.py b/handler/analyzer/analyze_index_space.py index 9fe0b1bc..ba2b2419 100644 --- a/handler/analyzer/analyze_index_space.py +++ b/handler/analyzer/analyze_index_space.py @@ -96,6 +96,7 @@ def handle(self): try: self.init_option() except Exception as e: + self.stdio.error("init option failed: {0}".format(str(e))) return ObdiagResult(ObdiagResult.INPUT_ERROR_CODE, error_data="init option failed: {0}".format(str(e))) try: # evaluate the space size of the table where the index is located