Everywhere where we are doing `res.send(500)`, I think we should be doing `next(err)` (`next` is the third, optional argument to the request handlers). That way at some point in the future we can use a common error handler.