mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Add index name and uuid in IndexAlreadyExistsException default message
Relates #18274
This commit is contained in:
parent
ec4825d49e
commit
df43230844
@ -32,7 +32,7 @@ import java.io.IOException;
|
|||||||
public class IndexAlreadyExistsException extends ElasticsearchException {
|
public class IndexAlreadyExistsException extends ElasticsearchException {
|
||||||
|
|
||||||
public IndexAlreadyExistsException(Index index) {
|
public IndexAlreadyExistsException(Index index) {
|
||||||
this(index, "already exists");
|
this(index, "index " + index.toString() + " already exists");
|
||||||
}
|
}
|
||||||
|
|
||||||
public IndexAlreadyExistsException(Index index, String message) {
|
public IndexAlreadyExistsException(Index index, String message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user