Add message for bind failure (HTTP)

This commit is contained in:
KingRainbow44
2022-04-23 02:20:18 -04:00
parent a957379afb
commit 8afcc0b89a
2 changed files with 22 additions and 7 deletions

View File

@@ -64,9 +64,8 @@ public class MihoyoKcpServer extends Thread {
// Wait until the server socket is closed.
f.channel().closeFuture().sync();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (Exception exception) {
Grasscutter.getLogger().error("Unable to start game server.", exception);
} finally {
// Close
finish();