Closed tarrow closed 6 years ago
in the latest PR I tried to improve the error handling: https://github.com/OpenKnowledgeMaps/Headstart/pull/205/files @tarrow Do you have any expectations from the frontend for a better failure handling? e.g. a specific return value? Right now I could return a NULL value, but we don't have anything in place in the rest of the pipeline between the getpapers_step and the vis_layout step that deals with such a return, if we want to we would need to reenact the changes for the tests and text_similarity. currently the only thing that is done better is an error print.
@tarrow is this still an issue?
If there are no results for an OpenAire search, for example, putting in a project ID that doesn't exist or requesting a project ID that doesn't have an fp7 funder then it doesn't fail gracefully. It leaves messages in the apache/php logs like:
After a call like: