private void after()

in geronimo-opentracing-common/src/main/java/org/apache/geronimo/microprofile/opentracing/common/microprofile/thread/ScopePropagatingCallable.java [40:48]


    private void after(final Span span, final RuntimeException error) {
        if (span != null && error != null) {
            Tags.ERROR.set(span, true);
            if (error.getMessage() != null) {
                span.setTag("errorMessage", error.getMessage());
                span.setTag("errorType", error.getClass().getName());
            }
        }
    }