- elif method_name not in ('Help', 'Ticket', 'GetXIDs', 'GetSSHKeys'):
+ elif method_name in ('Help', 'Ticket', 'GetXIDs', 'GetSSHKeys'):
+ try: result = method(*args)
+ except Exception as err: raise xmlrpc.client.Fault(104, 'Error in call: %s' %err)
+ else: # Execute anonymous call.