@Override
    public void onParsingBodyFailure(InLongMsgHead head, byte[] body, Exception exception) throws Exception {
        LOG.error("Cannot properly parse the head: {}, the body: {}.", head, new String(body), exception);
        throw exception;
    }
An implementation of {@link FailureHandler} that just throws the exception out.
inlong-sort/sort-formats/format-common/src/main/java/org/apache/inlong/sort/formats/inlongmsg/NoOpFailureHandler.java