From 8775492a4cc55ed04f2c8623607ddf4da407e277 Mon Sep 17 00:00:00 2001 From: Sam Ryan Date: Fri, 8 Dec 2023 17:29:05 -0500 Subject: [PATCH] Fail server init if error on transport init (#30710) --- src/app/server/Server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/server/Server.cpp b/src/app/server/Server.cpp index 78802f9b629a43..eb9b5835dd23d5 100644 --- a/src/app/server/Server.cpp +++ b/src/app/server/Server.cpp @@ -203,6 +203,7 @@ CHIP_ERROR Server::Init(const ServerInitParams & initParams) #endif ); + SuccessOrExit(err); err = mListener.Init(this); SuccessOrExit(err); mGroupsProvider->SetListener(&mListener);