diff --git a/satrs-example/src/main.rs b/satrs-example/src/main.rs index b16f86d..f929798 100644 --- a/satrs-example/src/main.rs +++ b/satrs-example/src/main.rs @@ -188,10 +188,12 @@ fn main() { Ok(request) => { println!("ACS thread: Received HK request {:?}", request.0); update_time(&mut time_provider, &mut timestamp); - let started_token = reporter_aocs.start_success(request.1, ×tamp).unwrap(); + let started_token = reporter_aocs + .start_success(request.1, ×tamp) + .expect("Sending start success failed"); reporter_aocs .completion_success(started_token, ×tamp) - .unwrap(); + .expect("Sending completion success failed"); } Err(e) => match e { TryRecvError::Empty => {}