From 4feedb05922368403dbed05945a1fc1cf26fddf1 Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Wed, 26 Jun 2002 01:26:17 +0000 Subject: [PATCH] Put try around handle command string --- direct/src/cluster/ClusterServer.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/direct/src/cluster/ClusterServer.py b/direct/src/cluster/ClusterServer.py index c4c82212c4..4fc9393cd4 100644 --- a/direct/src/cluster/ClusterServer.py +++ b/direct/src/cluster/ClusterServer.py @@ -201,5 +201,8 @@ class ClusterServer(DirectObject.DirectObject): def handleCommandString(self, dgi): """ Handle arbitrary command string from client """ command = self.msgHandler.parseCommandStringDatagram(dgi) - exec( command, globals() ) + try: + exec( command, globals() ) + except: + pass