Merge pull request #23811 from rallytime/bp-23786

Backport #23786 to 2015.5
This commit is contained in:
Justin Findlay 2015-05-18 09:30:27 -06:00
commit c6f939adfb

View file

@ -240,7 +240,8 @@ def returner(ret):
ret['id'],
ret.get('success', False),
json.dumps(ret)))
except salt.exceptions.SaltMasterError:
except salt.exceptions.SaltMasterError as exc:
log.critical(exc)
log.critical('Could not store return with MySQL returner. MySQL server unavailable.')