better failure message when no master found (how long we waited for it)
This commit is contained in:
parent
30b8823e3d
commit
7bcee7660a
|
@ -166,7 +166,7 @@ public abstract class TransportMasterNodeOperationAction<Request extends MasterN
|
||||||
@Override
|
@Override
|
||||||
public void onTimeout(TimeValue timeout) {
|
public void onTimeout(TimeValue timeout) {
|
||||||
clusterService.remove(this);
|
clusterService.remove(this);
|
||||||
listener.onFailure(new MasterNotDiscoveredException());
|
listener.onFailure(new MasterNotDiscoveredException("waited for [" + timeout + "]"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue