diff options
Diffstat (limited to 'opendc/api/v2/sections/sectionId/endpoint.py')
| -rw-r--r-- | opendc/api/v2/sections/sectionId/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/sections/sectionId/endpoint.py b/opendc/api/v2/sections/sectionId/endpoint.py index 0cda37bf..80e15328 100644 --- a/opendc/api/v2/sections/sectionId/endpoint.py +++ b/opendc/api/v2/sections/sectionId/endpoint.py @@ -11,7 +11,7 @@ def GET(request): try: request.check_required_parameters(path={'sectionId': 'int'}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate a Section from the database |
