private void logFailure()

in crossdc-consumer/src/main/java/org/apache/solr/crossdc/messageprocessor/SolrMessageProcessor.java [159:167]


    private void logFailure(MirroredSolrRequest mirroredSolrRequest, Exception e, SolrException solrException, boolean retryable) {
        // This shouldn't really happen.
        if (solrException != null && 400 <= solrException.code() && solrException.code() < 500) {
            log.error("Exception occurred with 4xx response. {}", solrException.code(), solrException);
            return;
        }

        log.warn("Resubmitting mirrored solr request after failure errorCode={} retryCount={}", solrException != null ? solrException.code() : -1, mirroredSolrRequest.getAttempt(), e);
    }