Skip to content

Commit 2955518

Browse files
Extending catch clause in rewriteAndFetch (#112829) (#113520)
Co-authored-by: Elastic Machine <[email protected]>
1 parent 54617cb commit 2955518

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/src/main/java/org/elasticsearch/index/query/Rewriteable.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
package org.elasticsearch.index.query;
1010

1111
import org.elasticsearch.action.ActionListener;
12-
import org.elasticsearch.common.ParsingException;
1312

1413
import java.io.IOException;
1514
import java.util.ArrayList;
@@ -108,7 +107,7 @@ static <T extends Rewriteable<T>> void rewriteAndFetch(
108107
}
109108
}
110109
rewriteResponse.onResponse(builder);
111-
} catch (IOException | IllegalArgumentException | ParsingException ex) {
110+
} catch (Exception ex) {
112111
rewriteResponse.onFailure(ex);
113112
}
114113
}

0 commit comments

Comments
 (0)