return 204 if no data, but 500 if no db connection
Merge pull request #16 from ehenneken/db_lookup_failed

return 204 if no data, but 500 if no db connection