improve log messages
This commit is contained in:
parent
85703017cd
commit
16a30ae75e
3 changed files with 3 additions and 3 deletions
|
@ -555,7 +555,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
protected SearchHits getSearchHits(final SearchResponse response) {
|
||||
SearchHits hits = response.getHits();
|
||||
if (hits == null) {
|
||||
throw new IllegalBehaviorStateException("hits is null." + response.status());
|
||||
throw new IllegalBehaviorStateException("hits is null: " + response);
|
||||
}
|
||||
return hits;
|
||||
}
|
||||
|
|
|
@ -555,7 +555,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
protected SearchHits getSearchHits(final SearchResponse response) {
|
||||
SearchHits hits = response.getHits();
|
||||
if (hits == null) {
|
||||
throw new IllegalBehaviorStateException("hits is null." + response.status());
|
||||
throw new IllegalBehaviorStateException("hits is null: " + response);
|
||||
}
|
||||
return hits;
|
||||
}
|
||||
|
|
|
@ -555,7 +555,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
protected SearchHits getSearchHits(final SearchResponse response) {
|
||||
SearchHits hits = response.getHits();
|
||||
if (hits == null) {
|
||||
throw new IllegalBehaviorStateException("hits is null." + response.status());
|
||||
throw new IllegalBehaviorStateException("hits is null: " + response);
|
||||
}
|
||||
return hits;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue