Skip to content

Commit

Permalink
Add todo for gracefully disconnecting client when participantManger c…
Browse files Browse the repository at this point in the history
…onnect fails
  • Loading branch information
zpinto committed Jul 31, 2024
1 parent 7602488 commit 6f358ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ public HelixGatewayParticipant build() {
try {
participantManager.connect();
} catch (Exception e) {
// TODO: When API for gracefully triggering disconnect from remote participant
// is available, we should call it here instead of throwing exception.
throw new RuntimeException(e);
}
return participant;
Expand Down

0 comments on commit 6f358ca

Please sign in to comment.