Improve error message when running test passthrough_nodejs_and_python
and node or python is not installed.
#1829
Labels
passthrough_nodejs_and_python
and node or python is not installed.
#1829
When running
cargo nextest run kafka_int_tests::passthrough_nodejs_and_python
, I get the following panic:The error is not helpful at all "No such file or directory" does not indicate what is going wrong.
This kind of error occurs when attempting to execute a command that does not exist.
In this case "npm" was run but not installed.
We should handle a
std::io::ErrorKind::NotFound
by panicking with a meaningful error.It should say something like:
The text was updated successfully, but these errors were encountered: