File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
text_2_sql/text_2_sql_core/src/text_2_sql_core/data_dictionary Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,10 @@ def create(
9898 ** kwargs ,
9999 )
100100 else :
101- raise NotImplementedError (
102- f"Data Dictionary Creator for { engine .value } is not implemented."
103- )
101+ rich_print ("Text2SQL Data Dictionary Creator Failed ❌" )
102+ rich_print (f"Database Engine { engine .value } is not supported." )
103+
104+ raise typer .Exit (code = 1 )
104105 except ImportError :
105106 detailed_error = f"""Failed to import {
106107 engine .value } Data Dictionary Creator. Check you have installed the optional dependencies for this database engine."""
@@ -112,7 +113,6 @@ def create(
112113 try :
113114 asyncio .run (data_dictionary_creator .create_data_dictionary ())
114115 except Exception as e :
115- raise e
116116 logging .error (e )
117117 rich_print ("Text2SQL Data Dictionary Creator Failed ❌" )
118118
You can’t perform that action at this time.
0 commit comments