wip: checkpoint FIFA 17 hook diagnostics
This commit is contained in:
+1
-2
@@ -66,9 +66,8 @@ impl ServiceHandle {
|
||||
}
|
||||
cmd.stdout(Stdio::piped()).stderr(Stdio::piped());
|
||||
|
||||
let mut child = cmd.spawn().map_err(|e| {
|
||||
let mut child = cmd.spawn().inspect_err(|e| {
|
||||
*self.status.lock().unwrap() = ServiceStatus::Failed(e.to_string());
|
||||
e
|
||||
})?;
|
||||
|
||||
// Drain stdout
|
||||
|
||||
Reference in New Issue
Block a user