Skip to content

Commit

Permalink
handle error already sent
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Jun 23, 2024
1 parent b158e5c commit fe46823
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ public void join(Join request, StreamObserver<Gateway> responseObserver) {
try {
s.join(request, from, responseObserver, timer);
} catch (Throwable t) {
responseObserver.onError(t);
try {
responseObserver.onError(t);
} catch (Throwable throwable) {
// ignore as response observer is closed
}
}
});
}
Expand Down

0 comments on commit fe46823

Please sign in to comment.