public static ListenerResult fail(Exception exception) {
        return ListenerResult.builder().success(false).exception(exception).build();
    }
Listener execute fail.

@param exception exception on execution results.
@return listener execute fail info.
inlong-manager/manager-workflow/src/main/java/org/apache/inlong/manager/workflow/event/ListenerResult.java