-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
DbtWarnErrorOptionsError
in `exclusive_primary_alt_value_settin…
…g` instead of `DbtConfigError` Using `DbtConfigError` seemed reasonable. However in order to make sure the error got raised in `read_project_flags` we had to mark it to be `DbtConfigError`s to be re-raised. This had the uninteded consequence of reraising a smattering of errors which were previously being swallowed. I'd argue that if those are errors we're swallowing, the functions that raise those errors should be modified perhaps to conditionally not raise them, but that's not the world we live in and is out of scope for this branch of work. Thus instead we've created a error specific to `WarnErrorOptions` issues, and now use, and catch for re-raising.
- Loading branch information
Showing
3 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters