Browse Source

ui: add log on child waiting error

tags/pre-alpha-0.3.1
Manos Pitsidianakis 1 year ago
parent
commit
7fe6532c73
Signed by: epilys GPG Key ID: 73627C2F690DF710
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      ui/src/state.rs

+ 10
- 2
ui/src/state.rs 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;
}
}

Loading…
Cancel
Save