Updates error logging in the sitemap generation process to provide more consistent and clear error messages. Changes the error message from "Error generating sitemap" to "Failed to generate sitemap" for better clarity and uniformity in error handling.