From fa76a6dbe878b2e57317ce8e8a7c97103033d2dd Mon Sep 17 00:00:00 2001 From: Devon Fulcher Date: Thu, 14 Dec 2023 11:36:00 -0600 Subject: [PATCH] Fixed typo in error message --- .changes/unreleased/Under the Hood-20231214-113549.yaml | 6 ++++++ metricflow/model/data_warehouse_model_validator.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Under the Hood-20231214-113549.yaml diff --git a/.changes/unreleased/Under the Hood-20231214-113549.yaml b/.changes/unreleased/Under the Hood-20231214-113549.yaml new file mode 100644 index 0000000000..a834c780c5 --- /dev/null +++ b/.changes/unreleased/Under the Hood-20231214-113549.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Fixed typo in error message +time: 2023-12-14T11:35:49.299324-06:00 +custom: + Author: DevonFulcher + Issue: None diff --git a/metricflow/model/data_warehouse_model_validator.py b/metricflow/model/data_warehouse_model_validator.py index b33f9715e8..4b96c5faf1 100644 --- a/metricflow/model/data_warehouse_model_validator.py +++ b/metricflow/model/data_warehouse_model_validator.py @@ -488,7 +488,7 @@ def run_tasks( issues.append( ValidationError( context=task.context, - message=task.error_message + f"\nRecieved following error from data warehouse:\n{e}", + message=task.error_message + f"\nReceived following error from data warehouse:\n{e}", extra_detail="".join(traceback.format_tb(e.__traceback__)), ) )