Closed ipython3 closed 6 months ago
In https://amqp-node.github.io/amqplib/, there is a section explaining "Why does amqplib crash my application?". I believe that there is a typo in the example code:
const connection = await amqplib.connect(); connection.on('error', (err) => { // recover or exit }); const channel = await connection.createChannel(); channel.on('error', (err) => { // recover or exit })l
The l character in the end should be a semicolon.
l
Thank you for creating this easy-to-use library!
Thanks @ipython3. I've fixed the docs.
In https://amqp-node.github.io/amqplib/, there is a section explaining "Why does amqplib crash my application?". I believe that there is a typo in the example code:
The
l
character in the end should be a semicolon.Thank you for creating this easy-to-use library!