-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Uncaught calls to the resolver make the server crash instead of returning meaningful http codes
Nautilus/capitains_nautilus/apis/dts.py
Lines 491 to 500 in 90629aa
| def r_dts_document(self, objectId=None, passageId=None, start=None, end=None): | |
| if not objectId: | |
| raise CtsMissingParameter("A document 'id' is required") | |
| passageId, objectId = _define_passage_id_from_params(objectId, passageId, start, end) | |
| passage = self.resolver.getTextualNode( | |
| textId=objectId, | |
| subreference=passageId | |
| ) |
This seems limited to this particular method as errors are caught in the other ones.
