Merge pull request #28012 from rallytime/fix-28010

Clean up stack trace when something goes wrong with minion output
This commit is contained in:
Mike Place 2015-10-16 06:40:59 -06:00
commit d41018fa8e

View File

@ -251,7 +251,11 @@ def state(
if mdata.get('failed', False):
m_state = False
else:
try:
m_ret = mdata['ret']
except KeyError:
m_state = False
if not m_state:
m_state = salt.utils.check_state_result(m_ret)
if not m_state: