mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Expand except to be more general to catch windows connection forcibly closed error
This commit is contained in:
parent
bbe9321516
commit
de3ec1fa3b
@ -182,5 +182,5 @@ def ping_bedrock(ip, port):
|
|||||||
try:
|
try:
|
||||||
brp = BedrockPing(ip, port, client_guid)
|
brp = BedrockPing(ip, port, client_guid)
|
||||||
return brp.ping()
|
return brp.ping()
|
||||||
except socket.timeout:
|
except:
|
||||||
logger.debug("Unable to get RakNet stats")
|
logger.debug("Unable to get RakNet stats")
|
||||||
|
Loading…
Reference in New Issue
Block a user