diff options
Diffstat (limited to 'opendc/api/v2/simulations/endpoint.py')
| -rw-r--r-- | opendc/api/v2/simulations/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/simulations/endpoint.py b/opendc/api/v2/simulations/endpoint.py index 72501379..3eb7e903 100644 --- a/opendc/api/v2/simulations/endpoint.py +++ b/opendc/api/v2/simulations/endpoint.py @@ -19,7 +19,7 @@ def POST(request): request.check_required_parameters(body={'simulation': {'name': 'string'}}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate a Simulation |
