Skip to content

Commit

Permalink
when init_option Exception , add use stdio.error the msg (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy authored Sep 4, 2024
1 parent b6a238b commit 0642f1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler/analyzer/analyze_index_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0642f1b

Please sign in to comment.