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

Obscure error when vars: data_diff: not found #474

Closed
@dlawin

Description

@dlawin

We should output a more descriptive error when dbt_project.yml vars: data_diff: is not found

Current:
[12:52:44] ERROR - 'NoneType' object has no attribute 'get'

Ideal:
ERROR - Did not find a dbt_project.yml variable named "data_diff"

We can reuse this utility method

def get_from_dict_with_raise(dictionary: Dict, key: str, error_message: str):

Metadata

Metadata

Assignees

Labels

--dbtIssues/features related to the dbt integrationenhancementNew feature or requestin-progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions