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 4, 2024
1 parent fff9131 commit 1089776
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 1089776

Please sign in to comment.