Put try around handle command string

This commit is contained in:
Mark Mine 2002-06-26 01:26:17 +00:00
parent c27ff6e435
commit 4feedb0592
1 changed files with 4 additions and 1 deletions

View File

@ -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