ui: add log on child waiting error
parent
93de60b6d1
commit
7fe6532c73
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue