parent
16a1585ffc
commit
560831752e
1 changed files with 2 additions and 2 deletions
|
@ -740,8 +740,8 @@ class PyVmomiHelper(object):
|
|||
'msg': 'Cannot suspend VM in the current state %s' % current_state}
|
||||
|
||||
except Exception:
|
||||
result = {'changed': False, 'failed': True,
|
||||
'msg': get_exception()}
|
||||
e = get_exception()
|
||||
result = {'changed': False, 'failed': True, 'msg': e}
|
||||
|
||||
if task:
|
||||
self.wait_for_task(task)
|
||||
|
|
Loading…
Reference in a new issue