Skip to content

Commit 430acee

Browse files
committed
PR feedback
1 parent e28ab93 commit 430acee

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

sqlmesh/core/config/connection.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,13 @@ def validate(cls: t.Any, data: t.Any) -> t.Any:
7070
if debug_mode_enabled():
7171
raise
7272

73-
logger.error(str(e))
73+
logger.exception("Failed to import the engine library")
74+
7475
raise ConfigError(
75-
f"Failed to import the '{engine_type}' engine library. Please run `pip install \"sqlmesh[{extra_name}]\"`."
76+
f"Failed to import the '{engine_type}' engine library. This may be due to a missing "
77+
"or incompatible installation. Please ensure the required dependency is installed by "
78+
f"running: pip install \"sqlmesh[{extra_name}]\". For more details, check the logs "
79+
"in the 'logs/' folder, or rerun the command with the '--debug' flag."
7680
)
7781

7882
return data

0 commit comments

Comments
 (0)