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

Presence of long-stack-traces causes faulty emission of 'error' event on amqp module's Connection object

weyus opened this issue · comments

Node 0.8.22
amqp 0.1.6
long-stack-traces 0.1.2

When I require("long-stack-traces"), and attempt to call end() on a amqp Connection object, the 'error' event is thrown for that Connection object erroneously.

If I comment out the require statement, everything works fine.

I don't totally understand what is happening here, but based on reading some of the other issues, apparently long-stack-traces can introduce instability into EventEmitter.

So I'm going to stop using it.