From b018eb219ff259f4c01837c43a1f468bfaa519e4 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 14 Apr 2023 14:31:44 -0600 Subject: [PATCH] link to doc in prod_custom_schema error --- data_diff/dbt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data_diff/dbt.py b/data_diff/dbt.py index d6b8e3dd..a782157b 100644 --- a/data_diff/dbt.py +++ b/data_diff/dbt.py @@ -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) # no custom schema, use the default