Skip to content

Commit

Permalink
Fail server init if error on transport init
Browse files Browse the repository at this point in the history
  • Loading branch information
samryanuofl committed Nov 29, 2023
1 parent b379158 commit eb51a94
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 @@ -200,6 +200,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 eb51a94

Please sign in to comment.