better failure message when no master found (how long we waited for it)
This commit is contained in:
parent
7bcee7660a
commit
b2aae7f3a0
|
@ -31,6 +31,10 @@ public class MasterNotDiscoveredException extends ElasticSearchException {
|
|||
super("");
|
||||
}
|
||||
|
||||
public MasterNotDiscoveredException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RestStatus status() {
|
||||
return RestStatus.SERVICE_UNAVAILABLE;
|
||||
|
|
Loading…
Reference in New Issue