private void doSend()

in geronimo-opentracing-common/src/main/java/org/apache/geronimo/microprofile/opentracing/common/microprofile/zipkin/ZipkinHttp.java [179:187]


    private void doSend(final List<ZipkinSpan> copy) {
        final Response result = client.target(collector)
                .request()
                .post(entity(copy, APPLICATION_JSON_TYPE));
        if (result.getStatus() >= 300) {
            // todo: better handling but at least log them to not loose them completely or explode in memory
            throw new IllegalStateException("Can't send to zipkin: " + copy);
        }
    }