Raise NotFoundError, like in SlapOS Master

parent 5a64db75
......@@ -145,7 +145,7 @@ def getFullComputerInformation():
partition))
return xml_marshaller.xml_marshaller.dumps(slap_computer)
else:
raise UnauthorizedError, "Only accept request for: %s" % \
raise NotFoundError, "Only accept request for: %s" % \
app.config['computer_id']
@app.route('/setComputerPartitionConnectionXml', methods=['POST'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment