in production, we should never be sending down a response with an error. how can be prevent against that?