Skip to content

Commit

Permalink
Fail server init if error on transport init (#30710)
Browse files Browse the repository at this point in the history
  • Loading branch information
samryanuofl authored and pull[bot] committed Jan 20, 2024
1 parent 8e49bc6 commit 2543570
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ CHIP_ERROR Server::Init(const ServerInitParams & initParams)
#endif
);

SuccessOrExit(err);
err = mListener.Init(this);
SuccessOrExit(err);
mGroupsProvider->SetListener(&mListener);
Expand Down

0 comments on commit 2543570

Please sign in to comment.