Skip to content

Commit b961e9b

Browse files
committed
assertion
1 parent a1f002b commit b961e9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,7 @@ static void failIfAllShardsFailed(EsqlExecutionInfo execInfo, List<Page> finalRe
574574
if (failure.getCause() instanceof Exception e) {
575575
failureCollector.unwrapAndCollect(e);
576576
} else {
577+
assert false : "unexpected failure: " + new AssertionError(failure.getCause());
577578
failureCollector.unwrapAndCollect(failure);
578579
}
579580
}

0 commit comments

Comments
 (0)