f(*args) fallback
This commit is contained in:
parent
8e3c79c4b9
commit
5f31a82712
1 changed files with 5 additions and 2 deletions
|
@ -104,7 +104,10 @@ class CommandHandler(object):
|
|||
|
||||
PchumLog.debug('f %s' % f)
|
||||
|
||||
f(*args)
|
||||
try:
|
||||
f(*args)
|
||||
except TypeError as e:
|
||||
logging.exception("Failed to pass command, did the server pass an unsupported paramater?\n%s" % e)
|
||||
|
||||
@protected
|
||||
def __unhandled__(self, cmd, *args):
|
||||
|
|
Loading…
Reference in a new issue