mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-07 00:38:26 +07:00
Don't terminate socket server on connection reset (#4282)
This commit is contained in:

committed by
GitHub

parent
c420ad1a16
commit
c7d059a58f
@ -1045,7 +1045,7 @@ public class ServerControl implements ApplicationListener{
|
||||
}catch(BindException b){
|
||||
err("Command input socket already in use. Is another instance of the server running?");
|
||||
}catch(IOException e){
|
||||
if(!e.getMessage().equals("Socket closed")){
|
||||
if(!e.getMessage().equals("Socket closed") && !e.getMessage().equals("Connection reset")){
|
||||
err("Terminating socket server.");
|
||||
err(e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user