diff options
Diffstat (limited to 'opendc/api/v2/datacenters/datacenterId/endpoint.py')
| -rw-r--r-- | opendc/api/v2/datacenters/datacenterId/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/datacenters/datacenterId/endpoint.py b/opendc/api/v2/datacenters/datacenterId/endpoint.py index 14dbbd2a..3265abb2 100644 --- a/opendc/api/v2/datacenters/datacenterId/endpoint.py +++ b/opendc/api/v2/datacenters/datacenterId/endpoint.py @@ -12,7 +12,7 @@ def GET(request): request.check_required_parameters(path={'datacenterId': 'int'}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate a Datacenter from the database |
