more informative error message for forkserver

This commit is contained in:
Dominik Maier 2021-06-10 22:19:44 +02:00
parent 022dc33251
commit c123872b11

View File

@ -204,9 +204,9 @@ impl Forkserver {
.spawn()
{
Ok(_) => {}
Err(_) => {
Err(err) => {
return Err(Error::Forkserver(
"Could not spawn a forkserver!".to_string(),
format!("Could not spawn the forkserver: {:#?}", err).into(),
));
}
};