From d6801a7768c7b5035b7a10080c59b59a0a8bc4e3 Mon Sep 17 00:00:00 2001 From: twangboy Date: Fri, 3 Feb 2017 17:25:15 -0700 Subject: [PATCH] Remove raise from _srvmgr --- salt/modules/win_iis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/win_iis.py b/salt/modules/win_iis.py index 94245a1790..8cdc4f417d 100644 --- a/salt/modules/win_iis.py +++ b/salt/modules/win_iis.py @@ -104,7 +104,7 @@ def _srvmgr(cmd, return_json=False): if ret['retcode'] != 0: msg = 'Unable to execute command: {0}\nError: {1}' \ ''.format(cmd, ret['stderr']) - raise CommandExecutionError(msg) + log.error(msg) return ret