diff options
Diffstat (limited to 'opendc/api/v2/specifications/storages/id')
| -rw-r--r-- | opendc/api/v2/specifications/storages/id/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/specifications/storages/id/endpoint.py b/opendc/api/v2/specifications/storages/id/endpoint.py index b1f7e8c0..1b7a5ac7 100644 --- a/opendc/api/v2/specifications/storages/id/endpoint.py +++ b/opendc/api/v2/specifications/storages/id/endpoint.py @@ -12,7 +12,7 @@ def GET(request): request.check_required_parameters(path={'id': 'int'}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate a Storage and make sure it exists |
