less log spam
This commit is contained in:
parent
1cea71d3ea
commit
c34eabcb4d
1 changed files with 3 additions and 10 deletions
|
@ -93,18 +93,11 @@ public class Server {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} catch (Stop stop) {
|
} catch (Stop stop) {
|
||||||
if(stop.getMessage() != null) {
|
|
||||||
System.out.println("Connection stopped: " + stop.getMessage());
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
System.out.println("Connection stopped");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
socket.close();
|
socket.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
}
|
}
|
||||||
System.out.println("Connection with " + socket + " ended");
|
|
||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
||||||
serverSocket.close();
|
serverSocket.close();
|
||||||
|
|
Loading…
Add table
Reference in a new issue