Fix ecs error response to be json.

This commit is contained in:
Steve Pulec 2018-10-30 22:03:09 -04:00
commit 75f2c56a36
2 changed files with 19 additions and 2 deletions

View file

@ -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',
)