From bf8a407c9cd5543b4c74954259c76847533bb9b1 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Thu, 31 Jul 2025 17:52:18 +0200 Subject: [PATCH] Update PipelineProcessor.java --- .../SPDF/controller/api/pipeline/PipelineProcessor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java index a8fde2bd6..070d681e4 100644 --- a/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java +++ b/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java @@ -111,7 +111,8 @@ public class PipelineProcessor { if (!apiDocService.isValidOperation(operation, parameters)) { log.error("Invalid operation or parameters: o:{} p:{}", operation, parameters); - throw new IllegalArgumentException("Invalid operation: " + operation); + throw new IllegalArgumentException( + "Invalid operation: " + operation + " with parameters: " + parameters); } String url = getBaseUrl() + operation; @@ -139,7 +140,7 @@ public class PipelineProcessor { // skip // this // file - if (operation.startsWith("filter-") + if (operation.startsWith("/api/v1/filter/filter-") && (response.getBody() == null || response.getBody().length == 0)) { filtersApplied = true;