Commit 9214cd42 authored by Daniele Venzano's avatar Daniele Venzano

Fix invalid application description error path

parent c1c9611d
...@@ -109,7 +109,8 @@ class APIEndpoint: ...@@ -109,7 +109,8 @@ class APIEndpoint:
try: try:
zoe_lib.applications.app_validate(application_description) zoe_lib.applications.app_validate(application_description)
except zoe_lib.exceptions.InvalidApplicationDescription as e: except zoe_lib.exceptions.InvalidApplicationDescription as e:
raise zoe_api.exceptions.ZoeRestAPIException('Invalid application description: ' + e.message)'Invalid application description: ' + e.message)
raise zoe_api.exceptions.ZoeRestAPIException('Invalid application description')
self._check_quota(user, application_description) self._check_quota(user, application_description)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment