mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
This is the unstable version of pretzel where he breaks things.
This commit is contained in:
@ -140,7 +140,11 @@ class Server:
|
||||
try:
|
||||
self.process = pexpect.spawn(self.server_command, cwd=self.server_path, timeout=None, encoding=None)
|
||||
except Exception as ex:
|
||||
logger.error("Server {} failed to start with error code: {}".format(self.name, ex))
|
||||
msg = "Server {} failed to start with error code: {}".format(self.name, ex)
|
||||
logger.error(msg)
|
||||
websocket_helper.broadcast('send_start_error', {
|
||||
'error': msg
|
||||
})
|
||||
return False
|
||||
self.is_crashed = False
|
||||
|
||||
|
Reference in New Issue
Block a user