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 Apr 16, 2024
1 parent 3b82fb9 commit 8775492
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 8775492

Please sign in to comment.