From 288839f4b6d84647af9785ad89cd0e747006c7fa Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Wed, 13 Apr 2016 09:13:53 -0500 Subject: [PATCH] Turn on exc_info when logging failed minion startup (#32515) --- salt/scripts.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/salt/scripts.py b/salt/scripts.py index 2caa0244fd..c8afadef0e 100644 --- a/salt/scripts.py +++ b/salt/scripts.py @@ -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