We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e28ab93 commit 430aceeCopy full SHA for 430acee
1 file changed
sqlmesh/core/config/connection.py
@@ -70,9 +70,13 @@ def validate(cls: t.Any, data: t.Any) -> t.Any:
70
if debug_mode_enabled():
71
raise
72
73
- logger.error(str(e))
+ logger.exception("Failed to import the engine library")
74
+
75
raise ConfigError(
- 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."
80
)
81
82
return data
0 commit comments