private void cancelAction(@Nullable Throwable cause) {
        if (cause != null && !(cause instanceof CancelledSubscriptionException)) {
            ctx.logBuilder().endResponse(cause);
        } else {
            ctx.logBuilder().endResponse();
        }
    }
This method is called when the delegate is completed.
core/src/main/java/com/linecorp/armeria/client/HttpResponseWrapper.java