Merge pull request 'small robustness fix' (#183) from robustness-fix into main
All checks were successful
Rust/sat-rs/pipeline/head This commit looks good

Reviewed-on: #183
This commit is contained in:
Robin Müller 2024-05-02 13:41:55 +02:00
commit 583f6ce4d2
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) => {