tlrobinson / long-stack-traces

Long stacktraces for V8 implemented in user-land JavaScript. [UNMAINTAINED] Use https://github.com/mattinsler/longjohn instead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Throwing error when it shouldn't

thanpolas opened this issue · comments

Not sure what's the cause of this, but whenever a page is requested i get this exception:
(using express)

Uncaught TypeError: Cannot call method 'emit' of null
    at Socket.onServerResponseClose (http.js:906:21)
    at Socket.emit (events.js:123:20)
    at net.js:357:10
    at process._tickCallback (node.js:244:9)
----------------------------------------
    at EventEmitter.on
    at ServerResponse.assignSocket (http.js:912:10)
    at HTTPParser.<anonymous> (http.js:1769:11)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
    at Socket.<anonymous> (http.js:1703:22)
    at TCP.onread (net.js:403:27)
Uncaught undefined

/app/node/node_modules/long-stack-traces/lib/long-stack-traces.js:80
                    throw ""; // TODO: throw the original error, or undefined?
                    ^