mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
formatter issue
This commit is contained in:
parent
a600ef03d6
commit
81ff06cf88
@ -76,7 +76,7 @@ module.exports = function(RED) {
|
||||
var connectToDB = function() {
|
||||
MongoClient.connect(node.mongoConfig.url, function(err, client) {
|
||||
if (err) {
|
||||
node.status({ fill: "red", shape: "ring", text: RED._("mongodb.status.error") });
|
||||
node.status({fill:"red",shape:"ring",text:RED._("mongodb.status.error")});
|
||||
if (noerror) { node.error(err); }
|
||||
noerror = false;
|
||||
node.tout = setTimeout(connectToDB, 10000);
|
||||
|
Loading…
Reference in New Issue
Block a user