From 432d1375b5332fe4657927b71df0d76fe4bc59ad Mon Sep 17 00:00:00 2001 From: Panagiotis Bailis Date: Thu, 12 Sep 2024 20:57:35 +0300 Subject: [PATCH] Extending catch clause in rewriteAndFetch --- .../main/java/org/elasticsearch/index/query/Rewriteable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/index/query/Rewriteable.java b/server/src/main/java/org/elasticsearch/index/query/Rewriteable.java index b6cd6312a7c5c..e11fbf56d55a7 100644 --- a/server/src/main/java/org/elasticsearch/index/query/Rewriteable.java +++ b/server/src/main/java/org/elasticsearch/index/query/Rewriteable.java @@ -107,7 +107,7 @@ static > void rewriteAndFetch( } } rewriteResponse.onResponse(builder); - } catch (IOException | IllegalArgumentException | ParsingException ex) { + } catch (Exception ex) { rewriteResponse.onFailure(ex); } }