This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Description
Currently exceptions thrown from user's code handling Connected/Received/Closed events are not handled. For the Connected and Closed events they are ignored. For the Received event they are returned as the result of the queued task in the task queue and make it impossible to enqueue another task. This results in not raising the Received event anymore for new data received by the client.
We should catch exceptions from user's event handlers and log. They should not affect the client.
Related #816