LocalData / localdata-api

API/server for LocalData
http://localdata.com/
BSD 3-Clause "New" or "Revised" License
20 stars 14 forks source link

Don't send a status code of 500 without logging something or crashing #177

Open prashtx opened 10 years ago

prashtx commented 10 years ago

Pingdom sometimes gets responses with a status code of 500. The logs are not very informative, except to indicate that the response service time can range from 10 to 20 seconds.

If we send a 500 to the client, we should log a reason or at least indicate the code path.

hampelm commented 9 years ago

This report is fairly broad. Should we do a sweep of all 500s, or are there are particular offenders? Are we still seeing this problem?