public Iterator getOutput()

in src/main/java/org/apache/sling/pipes/BasePipe.java [331:347]


    public Iterator<Resource> getOutput() {
        try {
            provideAdditionalBindings();
            return computeOutput();
        } catch (Exception e){
            String path = getRawPath();
            if (StringUtils.isBlank(path)){
                Resource input = getPreviousResource();
                if (input != null){
                    path = input.getPath();
                }
            }
            bindings.setCurrentError(path);
            logger.error("error with pipe execution from {}, running on resource {}", resource.getPath(), path, e);
        }
        return EMPTY_ITERATOR;
    }