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

improve the formatter load error #211

Merged
merged 1 commit into from
Jan 16, 2023
Merged

improve the formatter load error #211

merged 1 commit into from
Jan 16, 2023

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jan 14, 2023

Display what it was looking for, so it's easier to debug.

Before:

Failed to load formatter #python due to error: cannot find binary path

After:

Failed to load formatter #python: could not find 'black' on PATH

This should help with errors like numtide/treefmt-nix#27

Display what it was looking for, so it's easier to debug.

Before:

    Failed to load formatter #python due to error: cannot find binary path

After:

    Failed to load formatter #python: could not find 'black' on PATH
@zimbatm
Copy link
Member Author

zimbatm commented Jan 16, 2023

bors merge

bors bot added a commit that referenced this pull request Jan 16, 2023
211: improve the formatter load error r=zimbatm a=zimbatm



Co-authored-by: zimbatm <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jan 16, 2023

Timed out.

@zimbatm zimbatm merged commit 65a351f into master Jan 16, 2023
@zimbatm zimbatm deleted the better-formatter-error branch January 16, 2023 21:35
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.

1 participant