JS client webSockets transport doesn't raise error event when OnReceivedAsync throw in PersistentConnection #1266

Open
Xiaohongt opened this Issue Jan 8, 2013 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

Xiaohongt commented Jan 8, 2013

e.g. in PersistentConnection

        protected override Task OnReceivedAsync(IRequest request, string connectionId, string data)
        {
            throw new Exception("error ");
       }

in this case JS client webSockets transport doesn't raise error event , it doesn't handle socket.onerror event, if we add it we can support raise error event in this case.

Note, SSE, foreverFrame and longPolling transports raise error event in this case.

@ghost ghost assigned Xiaohongt and NTaylorMullen Jan 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment