and now logging

This commit is contained in:
2025-12-18 23:07:10 +01:00
parent b74a1f05ae
commit 949f07d85d
2 changed files with 3 additions and 3 deletions
@@ -519,6 +519,9 @@ public class PretixManager implements SmartInitializingSingleton {
*/
public JsonElement request(String path, HttpMethod method, JsonElement payload,
MultiValueMap<String, String> queryParameters) {
logger.debug("method:" + method.toString() + ", path: " + path + ", host" + host);
WebClient.RequestBodySpec request = webClient.method(method)
.uri(uriBuilder -> uriBuilder.path(path).queryParams(queryParameters).build());
@@ -718,7 +718,6 @@ public class MembershipManager {
JsonElement response = pretixManager.request(path, HttpMethod.GET, queryParams);
if (response == null) {
logger.warn("results: " + result.size(), queryParams);
return result;
}
@@ -730,11 +729,9 @@ public class MembershipManager {
}
if (orderPositions.has("next") && !orderPositions.get("next").isJsonNull()) {
logger.warn("next: " + orderPositions.get("next").getAsString());
return fetchAllOrderPositions(orderPositions.get("next").getAsString(), queryParams, result);
}
logger.warn("results: " + result.size(), queryParams);
return result;
}