Skip to content

Commit

Permalink
Add more helpful error message for misconfiguration in profiles.yml
Browse files Browse the repository at this point in the history
automatic commit by git-black, original commits:
  06a30f0
  • Loading branch information
kning authored and iknox-fa committed Feb 8, 2022
1 parent ad89d3a commit 8620f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/config/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def _get_profile_data(
f"output '{target_name}' of profile '{profile_name}' is "
f"misconfigured in profiles.yml"
)
raise DbtProfileError(msg, result_type='invalid_target')
raise DbtProfileError(msg, result_type="invalid_target")

return profile_data

Expand Down

0 comments on commit 8620f75

Please sign in to comment.