-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An empty profile returns an un-useful error #2292
Comments
Ooh, good catch, thanks @clrcrl! This was actually fixed (maybe inadvertently) in #2290
It's going to ship in 0.16.1 next week :) |
Hey @drewbanin, I'm not sure if that's the same issue. I'm talking about having an empty profile in your |
oooh, i understand, thanks for clarifying! Adding this to the Octavius Catto milestone, should be a quick fix For the implementer: we should add more validation around profile parsing code, raising a sensible error indicating what went wrong. We should not assume that profiles are well-formed at all in this part of the codebase. |
I got error when I tried to run: dbt run: dbt_project.ymlname: 'jaffle_shop' target-path: "target" models: Running with dbt=0.16.1 |
Steps To Reproduce
profiles.yml
):Expected behavior
Some sort of helpful error message, like "your profile is empty"
Actual behaviour
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
System information
The output of
dbt --version
:0.16.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: