Catch sendtosolr exception.