fixed two other rest integ tests
Original commit: elastic/x-pack-elasticsearch@7fe318e2a8
This commit is contained in:
parent
a2aaef90b7
commit
b409b72629
|
@ -42,7 +42,7 @@ public class FixBlockingClientOperations {
|
|||
Thread.currentThread().interrupt();
|
||||
}
|
||||
if (exception.get() != null) {
|
||||
throw new RuntimeException(exception.get());
|
||||
throw org.elasticsearch.ExceptionsHelper.convertToElastic(exception.get());
|
||||
} else {
|
||||
return response.get();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue