add separator to several validation failures
This commit is contained in:
parent
eca244054f
commit
fd80fcbca0
|
@ -54,7 +54,7 @@ public class ActionRequestValidationException extends ElasticSearchException {
|
||||||
sb.append("Validation Failed: ");
|
sb.append("Validation Failed: ");
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (String error : validationErrors) {
|
for (String error : validationErrors) {
|
||||||
sb.append(++index).append(": ").append(error);
|
sb.append(++index).append(": ").append(error).append(";");
|
||||||
}
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue