Skip to content
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

handle yaml errors #366

Merged
merged 1 commit into from
Apr 5, 2017
Merged

handle yaml errors #366

merged 1 commit into from
Apr 5, 2017

Conversation

cmcarthur
Copy link
Member

dbt was showing a stack trace on invalid yaml in profiles.yml. this fixes that. the error now looks like:

09:04 $ dbt test --data --profile postgres --target cmcarthur
Encountered an error:
  Could not read /Users/connor/.dbt/profiles.yml

while scanning a simple key
  in "/Users/connor/.dbt/profiles.yml", line 12, column 3
could not find expected ':'
  in "/Users/connor/.dbt/profiles.yml", line 12, column 13

@cmcarthur cmcarthur requested a review from drewbanin April 5, 2017 13:11
Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cmcarthur cmcarthur merged commit f632f3a into development Apr 5, 2017
@cmcarthur cmcarthur deleted the handle-yaml-errors branch April 5, 2017 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants