Skip to content

Internal error occurred during message handling / EIPE #367

Answered by enisdenjo
theogravity asked this question in Q&A
Discussion options

You must be logged in to vote

Should we be able to define the logger we want to use for errors so we can parse them to how we want?

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.

What's the best way to catch this kind of error when it happens and where should it be done?

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.

Is it something on our side or really due to the client disconnecting during processing?

I've never faced this error myself, so I cannot shine more light on thi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by theogravity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants