blekhmanlab / rxivist

API providing access to papers and authors scraped from biorxiv.org
https://rxivist.org
GNU Affero General Public License v3.0
60 stars 11 forks source link

API doesn't return errors #199

Closed rabdill closed 6 years ago

rabdill commented 6 years ago

We know this URL (right now) should produce an error: http://localhost:8124/api/v1/papers?q=&metric=twitter&category=&timeframe=alltime&page_size=20&view=

but it doesn't, even though the response code (500) is correct: screen shot 2018-10-12 at 8 03 11 pm

rabdill commented 6 years ago

https://github.com/rabdill/rxivist/commit/87cbd1dbb6daef685f3a7ec53853e49e0a006a7a