more debugging printouts
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2024-04-29 23:48:25 +02:00
parent 2cc7f03a05
commit 0f9efff0c2
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -137,7 +137,8 @@ impl<TmSender: EcssTmSender> PusEventHandler<TmSender> {
self.pus_event_tm_creator.reporter.tm_hook.next_apid =
UniqueApidTargetId::from(event_msg.sender_id()).apid;
update_time(&mut self.time_provider, &mut self.timestamp);
self.pus_event_tm_creator
let generation_result = self
.pus_event_tm_creator
.generate_pus_event_tm_generic_with_generic_params(
&self.tm_sender,
&self.timestamp,
@ -146,6 +147,12 @@ impl<TmSender: EcssTmSender> PusEventHandler<TmSender> {
event_msg.params(),
)
.expect("Sending TM as event failed");
if !generation_result.params_were_propagated {
log::warn!(
"Event TM parameters were not propagated: {:?}",
event_msg.params()
);
}
}
Err(e) => match e {
mpsc::TryRecvError::Empty => break,