mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Subscribe log clarification
This commit is contained in:
parent
650168da00
commit
85579b1af8
@ -286,7 +286,7 @@ module.exports = function(RED) {
|
|||||||
* @param { Function } callback
|
* @param { Function } callback
|
||||||
*/
|
*/
|
||||||
node.subscribe = function(queue, acknowledgment, callback) {
|
node.subscribe = function(queue, acknowledgment, callback) {
|
||||||
node.log(`Subscribing to: ${queue}`);
|
node.log(`Subscribe to: ${queue}`);
|
||||||
|
|
||||||
if (node.connected && !node.closing) {
|
if (node.connected && !node.closing) {
|
||||||
if (!node.subscriptionIds[queue]) {
|
if (!node.subscriptionIds[queue]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user