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;
|
||||
}
|
||||
} catch (Stop stop) {
|
||||
if(stop.getMessage() != null) {
|
||||
System.out.println("Connection stopped: " + stop.getMessage());
|
||||
}
|
||||
else {
|
||||
System.out.println("Connection stopped");
|
||||
}
|
||||
}
|
||||
try {
|
||||
socket.close();
|
||||
} catch (IOException e) {
|
||||
}
|
||||
System.out.println("Connection with " + socket + " ended");
|
||||
socket.close();
|
||||
} catch (IOException e) {
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
serverSocket.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue