mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Added more info to assert
This commit is contained in:
parent
e72e323c8a
commit
e2cb7edb08
@ -78,7 +78,7 @@ public class ContextIndexSearcher extends IndexSearcher {
|
||||
}
|
||||
|
||||
public void finishStage(Stage stage) {
|
||||
assert currentState == stage;
|
||||
assert currentState == stage : "Expected stage " + stage + " but was stage " + currentState;
|
||||
this.currentState = Stage.NA;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user