small robustness fix #183

Merged
muellerr merged 1 commits from robustness-fix into main 2024-05-02 13:41:56 +02:00
3 changed files with 6 additions and 3 deletions

View File

@ -88,7 +88,8 @@ impl<TmSender: EcssTmSender, TcInMemConverter: EcssTcInMemConverter> DirectPusSe
Self::SERVICE_STR,
e
);
return HandlingStatus::HandledOne;
// To avoid permanent loops on continuous errors.
return HandlingStatus::Empty;
}
match result.unwrap() {
DirectPusPacketHandlerResult::Handled(handling_status) => return handling_status,

View File

@ -108,7 +108,8 @@ impl<TmSender: EcssTmSender, TcInMemConverter: EcssTcInMemConverter> DirectPusSe
Self::SERVICE_STR,
e
);
return HandlingStatus::HandledOne;
// To avoid permanent loops on continuous errors.
return HandlingStatus::Empty;
}
match result.unwrap() {
DirectPusPacketHandlerResult::Handled(handling_status) => return handling_status,

View File

@ -88,7 +88,8 @@ impl<TmSender: EcssTmSender, TcInMemConverter: EcssTcInMemConverter> DirectPusSe
Self::SERVICE_STR,
e
);
return HandlingStatus::HandledOne;
// To avoid permanent loops on continuous errors.
return HandlingStatus::Empty;
}
match res.unwrap() {
DirectPusPacketHandlerResult::Handled(handling_status) => {