grncdr/web-pockets — pull request #3 by ehd (2014-11-30 12:08:29+00:00)
Title: Declare statusCode variable before use

Got introduced in 57cc823598ee90a59ad9bbf0ebfd0be9ecae8157.
The error handler itself crashed and exceptions from request handlers were silently swallowed.
It might be good if errors within web-pockets internals were never silently swallowed?
Also, I couldn't find a test that's throwing an error and testing the response :)