aboutsummaryrefslogtreecommitdiffstats
path: root/catalog/pub/Dmaap_lib/dmaap/identity.py
diff options
context:
space:
mode:
Diffstat (limited to 'catalog/pub/Dmaap_lib/dmaap/identity.py')
-rw-r--r--catalog/pub/Dmaap_lib/dmaap/identity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog/pub/Dmaap_lib/dmaap/identity.py b/catalog/pub/Dmaap_lib/dmaap/identity.py
index 57f4016..6e801e8 100644
--- a/catalog/pub/Dmaap_lib/dmaap/identity.py
+++ b/catalog/pub/Dmaap_lib/dmaap/identity.py
@@ -47,7 +47,7 @@ class IdentityClient:
}
return resp_data
except Exception as e:
- raise DmaapClientException('create apikey from dmaap failed: ' + e.message)
+ raise DmaapClientException('create apikey from dmaap failed: ' + str(e))
def get_apikey(self, apikey):
try:
@@ -59,7 +59,7 @@ class IdentityClient:
ret = ret.json()
return ret
except Exception as e:
- raise DmaapClientException('get apikey from dmaap failed: ' + e.message)
+ raise DmaapClientException('get apikey from dmaap failed: ' + str(e))
def delete_apikey(self):
pass