mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-16 13:47:28 +02:00
Update PipelineProcessor.java
This commit is contained in:
parent
a096ab56b5
commit
bf8a407c9c
@ -111,7 +111,8 @@ public class PipelineProcessor {
|
|||||||
|
|
||||||
if (!apiDocService.isValidOperation(operation, parameters)) {
|
if (!apiDocService.isValidOperation(operation, parameters)) {
|
||||||
log.error("Invalid operation or parameters: o:{} p:{}", 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;
|
String url = getBaseUrl() + operation;
|
||||||
@ -139,7 +140,7 @@ public class PipelineProcessor {
|
|||||||
// skip
|
// skip
|
||||||
// this
|
// this
|
||||||
// file
|
// file
|
||||||
if (operation.startsWith("filter-")
|
if (operation.startsWith("/api/v1/filter/filter-")
|
||||||
&& (response.getBody() == null
|
&& (response.getBody() == null
|
||||||
|| response.getBody().length == 0)) {
|
|| response.getBody().length == 0)) {
|
||||||
filtersApplied = true;
|
filtersApplied = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user