Skip to content

Commit

Permalink
fix(#534): log exception with log message so that consumers can bette…
Browse files Browse the repository at this point in the history
…r work with the multiline text inside
  • Loading branch information
lukashornych committed Apr 24, 2024
1 parent 4998132 commit 9eb443e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ protected <T> T parseRequestBody(@Nonnull GraphQLEndpointExchange exchange, @Non

@Nonnull
private GraphQLResponse<?> executeRequest(@Nonnull GraphQLRequest graphQLRequest) {
if (true) {
throw new GraphQLInternalError("error!!!");
}
try {
final ExecutionInput executionInput = graphQLRequest.toExecutionInput();
final ExecutionResult result = graphQL.get()
Expand Down

0 comments on commit 9eb443e

Please sign in to comment.