How can I get more error details or logging, when an exception is thrown in a HotChocolate GraphQL server?
18
I’m building out a simple HotChocolate GraphQl server and HotChocolate throws an Unexpected Execution Error, but doesn't expose any information about the error, as soon as I post a request against it.
It doesn't matter how I post the request against the backend (BananaCakePop, Postman, Insomnia, ...).
The reponse looks like this:
{
"errors": [
{
"message": "Unexpected Execution Error",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"pong"
]
}
],
"data": {
"pong": null
}
}
The request response contains no further information and nothing is logged to the applications console. What would be a reasonable next step to try and figure out what went wrong?