diff options
Diffstat (limited to 'opendc/api/v2/experiments/experimentId/room-states/endpoint.py')
| -rw-r--r-- | opendc/api/v2/experiments/experimentId/room-states/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/experiments/experimentId/room-states/endpoint.py b/opendc/api/v2/experiments/experimentId/room-states/endpoint.py index 9b1e0a68..19ecec22 100644 --- a/opendc/api/v2/experiments/experimentId/room-states/endpoint.py +++ b/opendc/api/v2/experiments/experimentId/room-states/endpoint.py @@ -13,7 +13,7 @@ def GET(request): request.check_required_parameters(path={'experimentId': 'int'}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate an Experiment from the database |
