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

better handling of git errors in dbt deps #994

Closed
drewbanin opened this issue Sep 11, 2018 · 1 comment
Closed

better handling of git errors in dbt deps #994

drewbanin opened this issue Sep 11, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@drewbanin
Copy link
Contributor

Feature

Feature description

dbt deps can fail for myriad git-related reasons (git isn't installed, the repo can't be cloned, the branch doesn't exist, etc).

dbt currently shows an error like this:

$ dbt deps
Encountered an error:
[Errno 2] No such file or directory: '/var/folders/ql/lb0scpz112lfpcq497_mm3gc0000gn/T/dbt-downloads/18bf9a8e7f78e7bc3bd5414483d4e3f1'

whereas it should instead show the relevant git operation which failed.

The failure is usually visible in the logs, but I got the error above because of a bad spec in packages.yml, which was confusing.

Who will this benefit?

folks who use packages

@drewbanin drewbanin added the enhancement New feature or request label Sep 11, 2018
@jthandy jthandy added this to the Stephen Girard milestone Oct 25, 2018
@beckjake beckjake self-assigned this Nov 2, 2018
@drewbanin drewbanin modified the milestones: Stephen Girard, Grace Kelly Nov 2, 2018
beckjake added a commit that referenced this issue Nov 14, 2018
@beckjake
Copy link
Contributor

Resolved in #1110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants