wrapped the call to xmlsitemap_link_save with a try catch and removed some logging