Subscribe log clarification

This commit is contained in:
Olivier Verhaegen 2023-06-09 11:15:00 +02:00 committed by GitHub
parent 650168da00
commit 85579b1af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,7 @@ module.exports = function(RED) {
* @param { Function } callback
*/
node.subscribe = function(queue, acknowledgment, callback) {
node.log(`Subscribing to: ${queue}`);
node.log(`Subscribe to: ${queue}`);
if (node.connected && !node.closing) {
if (!node.subscriptionIds[queue]) {