f(*args) fallback

This commit is contained in:
Dpeta 2022-03-17 20:01:20 +00:00
parent 8e3c79c4b9
commit 5f31a82712

View file

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