Remove raise from _srvmgr

This commit is contained in:
twangboy 2017-02-03 17:25:15 -07:00
parent 3a32af777b
commit d6801a7768

View File

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