From 67c4bbcfb499d943896294c6dfd4f00136943909 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Thu, 9 Jan 2025 17:43:34 +0100 Subject: [PATCH] Add a trace to see where it's failing --- .../elasticsearch/crawler/fs/client/ElasticsearchClient.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elasticsearch-client/src/main/java/fr/pilato/elasticsearch/crawler/fs/client/ElasticsearchClient.java b/elasticsearch-client/src/main/java/fr/pilato/elasticsearch/crawler/fs/client/ElasticsearchClient.java index 53edfec5b..031279727 100644 --- a/elasticsearch-client/src/main/java/fr/pilato/elasticsearch/crawler/fs/client/ElasticsearchClient.java +++ b/elasticsearch-client/src/main/java/fr/pilato/elasticsearch/crawler/fs/client/ElasticsearchClient.java @@ -276,6 +276,10 @@ public String getLicense() throws ElasticsearchClientException { if (license != null) { return license; } + + // TODO Remove this line + logger.fatal("get / = {}", httpGet(null)); + logger.debug("get license"); String response = httpGet("_license"); // We parse the response