mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Server: logs cleanup
This commit is contained in:
parent
cae3081123
commit
ab10ee10c9
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue