Skip to content

Commit

Permalink
added the alias that is preblematic in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
etrousset committed Nov 14, 2023
1 parent c4a4687 commit 6c2f7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/storage/elasticsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6c2f7ce

Please sign in to comment.