diff options
Diffstat (limited to 'opendc/api/v2/paths/pathId/endpoint.py')
| -rw-r--r-- | opendc/api/v2/paths/pathId/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/paths/pathId/endpoint.py b/opendc/api/v2/paths/pathId/endpoint.py index 7a73ce17..42357fc5 100644 --- a/opendc/api/v2/paths/pathId/endpoint.py +++ b/opendc/api/v2/paths/pathId/endpoint.py @@ -12,7 +12,7 @@ def GET(request): request.check_required_parameters(path={'pathId': 'int'}) except exceptions.ParameterError as e: - return Response(400, e.message) + return Response(400, str(e)) # Instantiate a Path from the database |
