From 6c2f7cea4ea694af6d3de55aa50ac040b864062a Mon Sep 17 00:00:00 2001 From: Eric Trousset Date: Tue, 14 Nov 2023 12:06:38 +0100 Subject: [PATCH] added the alias that is preblematic in the error message --- lib/service/storage/elasticsearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service/storage/elasticsearch.js b/lib/service/storage/elasticsearch.js index d3a8ca28c0..05975f7b62 100644 --- a/lib/service/storage/elasticsearch.js +++ b/lib/service/storage/elasticsearch.js @@ -2965,7 +2965,7 @@ class ElasticSearch extends Service { }); if (body.length < 1) { - throw kerror.get("unknown_index_collection"); + throw kerror.get(`unknown_index_collection : ${alias}`); } else if (body.length > 1) { throw kerror.get( "multiple_indice_alias",