0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-22 03:05:16 +00:00

One more log

This commit is contained in:
Sanae 2022-03-11 20:29:17 -06:00
parent ebf5080a00
commit cf5ba12861

View file

@ -39,8 +39,8 @@ public class Server {
Task.Run(() => HandleSocket(socket));
}
catch {
// super ignore this
catch (Exception e) {
Logger.Error($"Error occured while setting up socket handler? {e}");
}
}
}
@ -53,9 +53,6 @@ public class Server {
try {
serverSocket.Shutdown(SocketShutdown.Both);
}
catch (Exception) {
// ignore
}
finally {
serverSocket.Close();
}