ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Add better error-handling for invalid feed requests. #502

Closed allynt closed 7 years ago

allynt commented 8 years ago

WHO: @allynt

Add better error-handling for invalid feed requests. Getting a list of published documents in a feed can be filtered by project, ontology, and document_type. If any of those details are incorrect, then the full set of published documents is returned. What ought to happen is an informative error message.

allynt commented 8 years ago

In QFeed.get_object() it correctly catches invalid requests, and the code returns an error, but this doesn't seem to have any effect on the Feed framework.