Can't format error | onError doesn't get called #569
Unanswered
UchihaYuki
asked this question in
Q&A
Replies: 1 comment
-
That is because onError is not handling exceptions in the subscription iterator. There is an open discussion in graphql-js about what to do. You can read more and handle the thrown error gracefully following the "ws server usage with custom subscribe method that gracefully handles thrown errors" recipe. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Screenshot
Expected Behaviour
I hope when an error is thrown, onError can get called.
Actual Behaviour
never get called
Debug Information
Help us debug the bug?
Further Information
Anything else you might find helpful.
Beta Was this translation helpful? Give feedback.
All reactions