fix(graphql): Bubbling up exceptions logged in GraphQL resolvers (#2163)

Co-authored-by: John Joyce <john@acryl.io>
This commit is contained in:
John Joyce 2021-03-03 13:45:18 -08:00 committed by GitHub
parent 410b823be9
commit ae1c21a516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ public class BrowsePathsResolver implements DataFetcher<CompletableFuture<List<B
throw new RuntimeException("Failed to retrieve browse paths: "
+ String.format("entity type %s, urn %s",
input.getType(),
input.getUrn()));
input.getUrn()), e);
}
});
}

View File

@ -52,7 +52,7 @@ public class BrowseResolver implements DataFetcher<CompletableFuture<BrowseResul
input.getPath(),
input.getFilters(),
start,
count));
count), e);
}
});
}

View File

@ -61,7 +61,7 @@ public class AutoCompleteResolver implements DataFetcher<CompletableFuture<AutoC
input.getField(),
input.getQuery(),
input.getFilters(),
input.getLimit()));
input.getLimit()), e);
}
});
}

View File

@ -64,7 +64,7 @@ public class SearchResolver implements DataFetcher<CompletableFuture<SearchResul
input.getQuery(),
input.getFilters(),
start,
count));
count), e);
}
});
}