iDigBio / idigbio-search-api

Server-side code driving iDigBio's search functionality.
GNU General Public License v3.0
24 stars 5 forks source link

Invalid ES queries in valid JSON return 500 errors with text error message instead of JSON #8

Closed mjcollin closed 9 years ago

mjcollin commented 9 years ago

EG: http://beta-search.idigbio.org/v2/search/records/?rq={%22scientificname%22:{%22type%22:[%22missing%22]}}

godfoder commented 9 years ago

This now returns an error message in JSON.

sckott commented 9 years ago

:+1: