openvidu-server: avoid NullPointer on handleUncaughtException
This commit is contained in:
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…
x
Reference in New Issue
Block a user