Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Don't catch exceptions thrown from user-defined OnReceived handlers on the JS client #1530

Closed
halter73 opened this Issue Feb 15, 2013 · 1 comment

Comments

Projects
None yet
2 participants
Member

halter73 commented Feb 15, 2013

Today we capture exceptions thrown by user code handling receive events and then call the user's error handler(s) with the exception if any error handler(s) exist. The users should be responsible for ensuring that they don't throw any uncaught exceptions in their handlers.

@halter73 halter73 was assigned Feb 15, 2013

@halter73 halter73 added a commit that referenced this issue Feb 16, 2013

@halter73 halter73 Don't catch exceptions thrown from onReceived handlers in JS
- We still catch these exceptions in the .NET client since there seems
  to be no better way to allow developers to observe exceptions thrown
  in the Received handler

#1530
3d2b82b

@halter73 halter73 added a commit that referenced this issue Feb 18, 2013

@halter73 halter73 Don't catch exceptions thrown from onReceived handlers in JS
- We still catch these exceptions in the .NET client since there seems
  to be no better way to allow developers to observe exceptions thrown
  in the Received handler

#1530
58c9a6e
Contributor

Xiaohongt commented Feb 21, 2013

verified

@Xiaohongt Xiaohongt closed this Feb 21, 2013

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