mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Log the error generated that causes returns.mysql.returner to except.
This commit is contained in:
parent
8ec4fb2a73
commit
346f30bdda
1 changed files with 2 additions and 1 deletions
|
@ -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.')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue