1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Remove mqtt debug

This commit is contained in:
Nick O'Leary 2018-01-22 23:15:20 +00:00
parent cf40497e6e
commit f3cf58c8ff
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -136,7 +136,7 @@ module.exports = function(RED) {
tlsNode.addTLSOptions(this.options);
}
}
console.log(this.brokerurl,this.options);
// console.log(this.brokerurl,this.options);
// If there's no rejectUnauthorized already, then this could be an
// old config where this option was provided on the broker node and
@ -182,7 +182,6 @@ module.exports = function(RED) {
};
this.connect = function () {
console.log("CONNECT");
if (!node.connected && !node.connecting) {
node.connecting = true;
node.client = mqtt.connect(node.brokerurl ,node.options);