mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Turn on exc_info when logging failed minion startup (#32515)
This commit is contained in:
parent
08a80207e6
commit
288839f4b6
@ -80,7 +80,10 @@ def minion_process(queue):
|
||||
minion = salt.cli.daemons.Minion()
|
||||
minion.start()
|
||||
except (Exception, SaltClientError, SaltReqTimeoutError, SaltSystemExit) as exc:
|
||||
log.error('Minion failed to start: {0}'.format(exc.message), exc_info=False)
|
||||
log.error(
|
||||
'Minion failed to start: {0}'.format(exc.message),
|
||||
exc_info=True
|
||||
)
|
||||
restart = True
|
||||
except SystemExit as exc:
|
||||
restart = False
|
||||
|
Loading…
Reference in New Issue
Block a user