Commit 080ce380 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Fix wrong status code in ZApp validation API

parent 0efa4f8a
......@@ -68,7 +68,7 @@ class APIEndpoint:
except zoe_lib.exceptions.InvalidApplicationDescription as e:
raise zoe_api.exceptions.ZoeException('Invalid application description: ' + e.message)
raise zoe_api.exceptions.ZoeRestAPIException('Invalid application description: ' + e.message)
def _check_quota(self, user: zoe_lib.state.User, application_description): # pylint: disable=unused-argument
"""Check quota for given user and execution."""
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