Fixed exception handling
* It need for handling exception in case when exception catched.
It is wrong return empty dictionary if exception catched.
Change-Id: I76d71cae5ada0384cbc44c8d4e6cc537c04f8f96
Related-PROD: PROD-29484
diff --git a/_states/keystonev3.py b/_states/keystonev3.py
index 6962290..bd79857 100644
--- a/_states/keystonev3.py
+++ b/_states/keystonev3.py
@@ -248,7 +248,7 @@
'user_create', name=name, cloud_name=cloud_name, **kwargs
)
except Exception as e:
- log.error('Keystone user create failed with {}'.format(e))
+ log.error('Keystone user create failed with: {}'.format(e))
return _create_failed(name, 'user')
return _created(name, 'user', resp)