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

Ease debugging package loading from build_runner #508

Merged
merged 1 commit into from
Jun 24, 2022
Merged

Ease debugging package loading from build_runner #508

merged 1 commit into from
Jun 24, 2022

Conversation

MageJohn
Copy link
Contributor

I was having some issues with getting autocompletion of packages to work correctly in my project, and discovered that ZLS was ignoring exit codes other than 0, rather than reporting a failure. This PR fixes this.

I also changed the log level for package loading failure from debug to warn. If it happens it's usually a user problem, but it can look like a ZLS problem at first, so I think it's good to be proactive in telling users that there might be a problem with their build file.

@SuperAuguste
Copy link
Member

Succinct but effective fix, thank you so much! I'll let the CI run and then merge!

@SuperAuguste SuperAuguste merged commit 178e823 into zigtools:master Jun 24, 2022
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