Skip to content

Commit

Permalink
Merge pull request #4 from EasyOC/log_graphqlError
Browse files Browse the repository at this point in the history
Log graphql error
  • Loading branch information
hyzx86 committed Mar 19, 2024
2 parents 1f58aa3 + fe67d9e commit d0cb7ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private async Task ExecuteAsync(HttpContext context)
catch (Exception e)
{
await _serializer.WriteErrorAsync(context, "An error occurred while processing the GraphQL query", e);
return;
throw;
}

var queryToExecute = request.Query;
Expand Down

0 comments on commit d0cb7ab

Please sign in to comment.