Slight tweak to urlRetrieve error handler