Closed LiJianGuo123 closed 3 months ago
Hi, the exception will be passed to the onError callback of the server, you can handle it there.
By the way, if you're dealing with port binding issues, you may be intrested in setReuseAddr which helps avoid this when quickly restarting the service
How to catch the error that the service starts and the port is still bound, I can't get the Exception through the Try Catch Start method