Skip to content

Commit

Permalink
More missing websocket failure handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Nov 15, 2023
1 parent e34b32f commit 5a065fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ private Multi<Response> executeSubscriptionOverWebsocket(JsonObject json) {
webSocketHandler().subscribe().with(handler -> {
handlerRef.set(handler);
operationId.set(handler.executeMulti(json, rawEmitter));
});
}, rawEmitter::fail);
});
return rawMulti
.onCancellation().invoke(() -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private Multi<Object> executeSubscriptionOverWebsocket(MethodInvocation method,
webSocketHandler().subscribe().with(handler -> {
handlerRef.set(handler);
operationId.set(handler.executeMulti(request, rawEmitter));
});
}, rawEmitter::fail);
});
return rawMulti
.onCancellation().invoke(() -> {
Expand Down

0 comments on commit 5a065fd

Please sign in to comment.