josephg/node-browserchannel — pull request #19 by evilhackerdude (2013-02-15 12:31:16+00:00)
Title: Rethrow exception

If a ShareJS auth function throws an exception,
the following stack is present:

- auth function
- useragent
- session
- EventEmitter
- BC server
- ...

By not re-throwing the exception at this point any exceptions
thrown between the session message event handler and the ShareJS
auth function are swallowed at this point.

With this change exceptions thrown in the auth function are propagated
upwards to the global exception handler.