summaryrefslogtreecommitdiff
path: root/opendc/api/v2/paths/pathId/branches
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/api/v2/paths/pathId/branches')
-rw-r--r--opendc/api/v2/paths/pathId/branches/endpoint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v2/paths/pathId/branches/endpoint.py b/opendc/api/v2/paths/pathId/branches/endpoint.py
index 5d3b6ec1..d3256e8c 100644
--- a/opendc/api/v2/paths/pathId/branches/endpoint.py
+++ b/opendc/api/v2/paths/pathId/branches/endpoint.py
@@ -21,7 +21,7 @@ def POST(request):
request.check_required_parameters(path={'pathId': 'int'}, body={'section': {'startTick': 'int'}})
except exceptions.ParameterError as e:
- return Response(400, e.message)
+ return Response(400, str(e))
# Instantiate the current Path from the database