Edge Case Error Reporting Improvement
namespacestd0 opened this issue · comments
The following command would cause a
TransportError(N/A, 'search_phase_execution_exception')
which could appear as a 504 Gateway Time-out.
curl --location --request POST 'http://mygene.info/v3/gene?fields=5-HT1A&species=drosophila' \
--form 'ids="string"'
Fixed a while ago. Additional improvement can be found at and further contributed to:
https://github.com/biothings/biothings.api/blob/a4642e84c6d389bb863d4c2c4918baacd105477b/biothings/web/handlers/query.py#L172