Internal error occurred during message handling / EIPE #367
-
https://github.com/enisdenjo/graphql-ws/blob/master/src/use/ws.ts#L140
Based on reading about https://github.com/enisdenjo/graphql-ws/blob/master/src/server.ts#L590 In our logging infra, it goes across many lines and looks like this:
I wonder if my issue is the same as #333 We do have a lot of complex logic that could potentially throw in our |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'd recommend implementing your own server instead. You can then handle the errors however you see fit. For a quick start, please consult the "Server usage with ws" recipe.
All possible errors that could be thrown during operation execution can be handled using the onMessage callback argument. Read more about it in the documentation.
I've never faced this error myself, so I cannot shine more light on this question. If it is indeed #333, my recommendation is to just handle the errors properly in the |
Beta Was this translation helpful? Give feedback.
I'd recommend implementing your own server instead. You can then handle the errors however you see fit. For a quick start, please consult the "Server usage with ws" recipe.
All possible errors that could be thrown during operation execution can be handled using the onMessage callback argument. Read more about it in the documentation.
I've never faced this error myself, so I cannot shine more light on thi…