diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-06-16 19:00:09 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-06-16 19:02:02 -0400 |
commit | d1389db2e39802d5e04dc7b902fd2b1f9f615b01 (patch) | |
tree | 13693f6426637dc4d24a3616f7d2e8f443dd06dd /CHANGELOG.md | |
parent | 50bcb7409efc30b6878edc2b0c2a3d438ce2f619 (diff) |
search: better errors for preprocessor commands
If a preprocessor command could not be started, we now show some
additional context with the error message. Previously, it showed
something like this:
some/file: No such file or directory (os error 2)
Which is itself pretty misleading. Now it shows:
some/file: preprocessor command could not start: '"nonexist" "some/file"': No such file or directory (os error 2)
Fixes #1302
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 51fe7fa0..f3a30f45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ Bug fixes: * [BUG #1259](https://github.com/BurntSushi/ripgrep/issues/1259): Fix bug where the last byte of a `-f file` was stripped if it wasn't a `\n`. +* [BUG #1302](https://github.com/BurntSushi/ripgrep/issues/1302): + Show better error messages when a non-existent preprocessor command is given. 11.0.1 (2019-04-16) |