Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
link to doc in prod_custom_schema error
Browse files Browse the repository at this point in the history
  • Loading branch information
dlawin committed Apr 14, 2023
1 parent 9d23259 commit b018eb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data_diff/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def _get_diff_vars(
if custom_schema:
if not config_prod_custom_schema:
raise ValueError(
f"Found a custom schema on model {model.name}, but no value for\nvars:\n data_diff:\n prod_custom_schema:\nPlease set a value!"
f"Found a custom schema on model {model.name}, but no value for\nvars:\n data_diff:\n prod_custom_schema:\nPlease set a value!\n"
+ "For more details see: https://docs.datafold.com/development_testing/open_source"
)
prod_schema = config_prod_custom_schema.replace("<custom_schema>", custom_schema)
# no custom schema, use the default
Expand Down

0 comments on commit b018eb2

Please sign in to comment.