remove prevention of SEB Client event log on none established conn.
This commit is contained in:
parent
a82838dfd6
commit
f38067fdc5
1 changed files with 0 additions and 8 deletions
|
@ -14,7 +14,6 @@ import java.util.UUID;
|
|||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.boot.logging.LogLevel;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
@ -34,7 +33,6 @@ import ch.ethz.seb.sebserver.webservice.servicelayer.session.ExamSessionService;
|
|||
import ch.ethz.seb.sebserver.webservice.servicelayer.session.PingHandlingStrategy;
|
||||
import ch.ethz.seb.sebserver.webservice.servicelayer.session.SebClientConnectionService;
|
||||
import ch.ethz.seb.sebserver.webservice.weblayer.api.APIConstraintViolationException;
|
||||
import ch.ethz.seb.sebserver.webservice.weblayer.api.OnlyMessageLogExceptionWrapper;
|
||||
|
||||
@Lazy
|
||||
@Service
|
||||
|
@ -406,12 +404,6 @@ public class SebClientConnectionServiceImpl implements SebClientConnectionServic
|
|||
|
||||
if (activeClientConnection != null) {
|
||||
|
||||
if (activeClientConnection.clientConnection.status != ConnectionStatus.ESTABLISHED) {
|
||||
throw new OnlyMessageLogExceptionWrapper(
|
||||
new IllegalStateException("No established SEB client connection"),
|
||||
LogLevel.WARN);
|
||||
}
|
||||
|
||||
// store event
|
||||
this.eventHandlingStrategy.accept(ClientEvent.toRecord(
|
||||
event,
|
||||
|
|
Loading…
Add table
Reference in a new issue