summaryrefslogtreecommitdiff
path: root/opendc/api/v2/topologies
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/api/v2/topologies')
-rw-r--r--opendc/api/v2/topologies/topologyId/endpoint.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/opendc/api/v2/topologies/topologyId/endpoint.py b/opendc/api/v2/topologies/topologyId/endpoint.py
index ef541daa..719048c4 100644
--- a/opendc/api/v2/topologies/topologyId/endpoint.py
+++ b/opendc/api/v2/topologies/topologyId/endpoint.py
@@ -8,10 +8,7 @@ def GET(request):
# Make sure required parameters are there
- try:
- request.check_required_parameters(path={'topologyId': 'int'})
- except exceptions.ParameterError as e:
- return Response(400, str(e))
+ request.check_required_parameters(path={'topologyId': 'int'})
# Instantiate a Topology from the database