diff --git a/src/commands.py b/src/commands.py index be0dc2d4b..2a2b65edd 100644 --- a/src/commands.py +++ b/src/commands.py @@ -929,6 +929,8 @@ def wrap(f, specList=[], name=None, **kw): code = f.func_code funcArgs = inspect.getargs(code)[0][len(self.commandArgs):] self.log.error('Extra args: %s', funcArgs) + self.log.debug('Make sure you did not wrap a wrapped ' + 'function ;)') raise return utils.python.changeFunctionName(newf, name, f.__doc__)