mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make the log level back to warning for unclassified exc
This commit is contained in:
parent
bd0496eef5
commit
676be7d711
1 changed files with 1 additions and 1 deletions
|
@ -1389,7 +1389,7 @@ class Minion(MinionBase):
|
|||
ret['out'] = 'nested'
|
||||
except Exception:
|
||||
msg = 'The minion function caused an exception'
|
||||
log.warning(msg, exc_info_on_loglevel=logging.DEBUG)
|
||||
log.warning(msg, exc_info_on_loglevel=True)
|
||||
salt.utils.error.fire_exception(salt.exceptions.MinionError(msg), opts, job=data)
|
||||
ret['return'] = '{0}: {1}'.format(msg, traceback.format_exc())
|
||||
ret['out'] = 'nested'
|
||||
|
|
Loading…
Add table
Reference in a new issue