From 47bedf26ed749e62c466a959bd3506f90733fe5a Mon Sep 17 00:00:00 2001 From: Daniil Polyakov Date: Fri, 3 May 2024 23:54:55 +0300 Subject: [PATCH] fix(core): do not ignore error while sending starting message --- elfo-core/src/init.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/elfo-core/src/init.rs b/elfo-core/src/init.rs index c7a02d00..3b1f76c5 100644 --- a/elfo-core/src/init.rs +++ b/elfo-core/src/init.rs @@ -77,8 +77,7 @@ async fn start_entrypoints(ctx: &Context, topology: &Topology, is_check_only: bo .collect(); Err(StartError::multiple(group_errors)) } - Err(RequestError::Ignored) => Ok(()), - Err(RequestError::Failed) => Err(StartError::single( + Err(RequestError::Ignored) | Err(RequestError::Failed) => Err(StartError::single( group.name, "starting message cannot be delivered to the entrypoint".into(), )),