mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: avoid NullPointer on handleUncaughtException
parent
8f0ec7fbbb
commit
f37f030d98
|
@ -651,7 +651,7 @@ public class RpcHandler extends DefaultJsonRpcHandler<JsonObject> {
|
|||
|
||||
@Override
|
||||
public void handleUncaughtException(Session rpcSession, Exception exception) {
|
||||
log.error("Uncaught exception for WebSocket session: {} - Exception: {}", rpcSession.getSessionId(), exception);
|
||||
log.error("Uncaught exception for WebSocket session: {} - Exception: {}", rpcSession != null ? rpcSession.getSessionId() : "RpcSession NULL", exception);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue