I found myself trying to figure out how to handle lua errors by rendering a 500 page in nginx (instead of that white screen in openresty saying there was an internal error)