long-stack-traces icon indicating copy to clipboard operation
long-stack-traces copied to clipboard

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

Open weyus opened this issue 11 years ago • 0 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.

weyus avatar Mar 20 '13 21:03 weyus