sitemap: improve reporting of error states