mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Remove raise from _srvmgr
This commit is contained in:
parent
3a32af777b
commit
d6801a7768
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user