mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add new debug log for "Missing Args" exceptions
This commit is contained in:
parent
2ff8e8ee20
commit
9f4ce7b38a
@ -437,6 +437,8 @@ class Minion(object):
|
||||
aspec = _getargs(minion_instance.functions[data['fun']])
|
||||
msg = 'Missing arguments executing "{0}": {1}'
|
||||
log.warning(msg.format(function_name, aspec))
|
||||
dmsg = '"Missing args" caused by exc: {0}'.format(exc)
|
||||
log.debug(dmsg)
|
||||
ret['return'] = msg.format(function_name, aspec)
|
||||
except Exception:
|
||||
trb = traceback.format_exc()
|
||||
|
Loading…
Reference in New Issue
Block a user