Fix ecs error response to be json.
This commit is contained in:
parent
71a054af92
commit
75f2c56a36
2 changed files with 19 additions and 2 deletions
|
|
@ -8,4 +8,6 @@ class ServiceNotFoundException(RESTError):
|
|||
def __init__(self, service_name):
|
||||
super(ServiceNotFoundException, self).__init__(
|
||||
error_type="ServiceNotFoundException",
|
||||
message="The service {0} does not exist".format(service_name))
|
||||
message="The service {0} does not exist".format(service_name),
|
||||
template='error_json',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue