changed handling os solr error so that insertions do not stop