openvidu-server: remove IllegalStateException string filter for ghost participants

pull/820/head
pabloFuente 2023-09-28 15:39:17 +02:00
parent 96907f2c7f
commit 6ae3186c1e
1 changed files with 2 additions and 5 deletions

View File

@ -130,11 +130,8 @@ public class RpcNotificationService {
participantPrivateId, e.getCause().getMessage());
// TODO: this is an ad-hoc fix to clean any ghost participant of sessions
if (e.getCause().getMessage() != null && e.getCause().getMessage().contains(
"has been closed and no method (apart from close()) may be called on a closed session")) {
log.warn("Removing ghost participant with participant private id {}", participantPrivateId);
this.rpcHandler.leaveRoomAfterConnClosed(participantPrivateId, null);
}
log.warn("Removing ghost participant with participant private id {}", participantPrivateId);
this.rpcHandler.leaveRoomAfterConnClosed(participantPrivateId, null);
} else {
log.error("Exception sending notification '{}': {} to participant with private id {}", method, params,