Turn on exc_info when logging failed minion startup (#32515)

This commit is contained in:
Erik Johnson 2016-04-13 09:13:53 -05:00 committed by Mike Place
parent 08a80207e6
commit 288839f4b6

View File

@ -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