Slim down the error body

If we get a gigantic HTML 404 response, this would log a *lot* to the log. Trim it down and escape it so it's all in one line.