mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Refine error handling in JettyWebSocketSession
Closes gh-36891
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ public class JettyWebSocketSession extends AbstractWebSocketSession<Session> {
|
||||
if (JettyWebSocketSession.this.handlerCompletionSink != null) {
|
||||
JettyWebSocketSession.this.handlerCompletionSink.tryEmitError(error);
|
||||
}
|
||||
getDelegate().close(StatusCode.SERVER_ERROR, error.getMessage(), Callback.NOOP);
|
||||
getDelegate().close(StatusCode.SERVER_ERROR, null, Callback.NOOP);
|
||||
}
|
||||
|
||||
void onHandleComplete() {
|
||||
|
||||
Reference in New Issue
Block a user