Server: logs cleanup

This commit is contained in:
Oleg Agafonov 2020-01-29 07:18:23 +04:00
parent cae3081123
commit ab10ee10c9

View file

@ -135,9 +135,8 @@ public class HumanPlayer extends PlayerImpl {
numTimesWaiting++; numTimesWaiting++;
if (numTimesWaiting >= 300) { if (numTimesWaiting >= 300) {
// game freezed -- need to report about error and continue to execute // game freezed -- need to report about error and continue to execute
String s = "ERROR - game freezed in waitResponseOpen for user " + getName() + " (connection problem)"; String s = "Game freezed in waitResponseOpen for user " + getName() + " (connection problem)";
//Throwable th = new IllegalStateException(s); stack info logger.warn(s);
logger.error(s);
break; break;
} }