Skip to content

Commit 207aa35

Browse files
committed
Revert client error check fix #162
1 parent ef63c2e commit 207aa35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/servlet/DefaultGraphQLErrorHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected boolean isClientError(GraphQLError error) {
5353
if (error instanceof ExceptionWhileDataFetching) {
5454
return ((ExceptionWhileDataFetching) error).getException() instanceof GraphQLError;
5555
}
56-
return !(error instanceof Throwable);
56+
return true;
5757
}
5858

5959
private GraphQLError replaceNonNullableFieldWasNullError(GraphQLError error) {

0 commit comments

Comments
 (0)