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 error message when preprocessing binary could not be found #1302

Closed
phiresky opened this issue Jun 16, 2019 · 0 comments
Closed

improve error message when preprocessing binary could not be found #1302

phiresky opened this issue Jun 16, 2019 · 0 comments
Labels
bug A bug.

Comments

@phiresky
Copy link
Contributor

What version of ripgrep are you using?

ripgrep 11.0.1

ripgrep --pre=nonexist hi

currently prints

textfile: No such file or directory (os error 2)
otherfile: No such file or directory (os error 2)

which looks like those files are non existent, even though it is in fact the preprocessing binary that is missing. It would be great if you could improve the error message to show e.g. Could not find preprocessing binary nonexist.

Reference: phiresky/ripgrep-all#4 phiresky/ripgrep-all#6

@BurntSushi BurntSushi changed the title Improve error message improve error message when preprocessing binary could not be found Jun 16, 2019
@BurntSushi BurntSushi added the bug A bug. label Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug.
Projects
None yet
Development

No branches or pull requests

2 participants