ui: add log on child waiting error

embed
Manos Pitsidianakis 2019-09-20 09:23:48 +03:00
parent 93de60b6d1
commit 7fe6532c73
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 10 additions and 2 deletions

View File

@ -607,7 +607,11 @@ impl State {
match w {
Ok(Some(_)) => true,
Ok(None) => false,
Err(_) => {
Err(e) => {
log(
format!("Failed to wait on editor process: {}", e.to_string()),
ERROR,
);
return None;
}
}
@ -617,7 +621,11 @@ impl State {
match w {
Ok(Some(_)) => true,
Ok(None) => false,
Err(_) => {
Err(e) => {
log(
format!("Failed to wait on child process: {}", e.to_string()),
ERROR,
);
return None;
}
}