Skip to content

Commit

Permalink
Merge pull request #18 from Snowflake-Labs/jhilgart/update-error-msg
Browse files Browse the repository at this point in the history
update error handling
  • Loading branch information
sfc-gh-jhilgart authored Apr 29, 2024
2 parents ec83c40 + 65183b3 commit cf9037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic_model_generator/validate_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def validate(yaml_path: str, snowflake_account: str) -> None:
_ = conn.cursor().execute(select)
except Exception as e:
raise ValueError(
f"Unable to execute query with your logical table against physical tables on Snowflake. Query = {select}. Error = {e}"
f"Unable to execute query with your logical table against physical tables on Snowflake. Error = {e}"
)
logger.info(f"Validated logical table: {table.name}")

Expand Down

0 comments on commit cf9037d

Please sign in to comment.