diff options
Diffstat (limited to 'opendc/api/v2/specifications/failure-models/id/endpoint.py')
| -rw-r--r-- | opendc/api/v2/specifications/failure-models/id/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/specifications/failure-models/id/endpoint.py b/opendc/api/v2/specifications/failure-models/id/endpoint.py index 67fe004a..db450f70 100644 --- a/opendc/api/v2/specifications/failure-models/id/endpoint.py +++ b/opendc/api/v2/specifications/failure-models/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 FailureModel and make sure it exists |
