@teamcymbeline/node-red-contrib-mcprotocol 1.3.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nodes/read.js CHANGED
@@ -120,9 +120,9 @@ module.exports = function(RED) {
120
120
  msg: msg,
121
121
  error: "timeout"
122
122
  };
123
- console.error(dbgmsg);
123
+ // console.error(dbgmsg);
124
124
  node.msgMem.mcReadDetails.errorMsg = "timeout";
125
- node.send(node.msgMem);
125
+ // node.send(node.msgMem);
126
126
  return;
127
127
  }
128
128
 
@@ -288,7 +288,7 @@ module.exports = function(RED) {
288
288
  connection: `host: ${node.connectionConfig.host}, port: ${node.connectionConfig.port}`,
289
289
  address: addr
290
290
  };
291
- node.debug(dbgmsg);
291
+ node.warn(dbgmsg);
292
292
  return;
293
293
  }
294
294
  });
package/nodes/write.js CHANGED
@@ -109,7 +109,7 @@ module.exports = function(RED) {
109
109
  msg: msg,
110
110
  error: "timeout"
111
111
  };
112
- console.error(dbgmsg);
112
+ // console.error(dbgmsg);
113
113
  return; //halt flow
114
114
  }
115
115
 
@@ -265,7 +265,7 @@ module.exports = function(RED) {
265
265
  data: data,
266
266
  error: error
267
267
  };
268
- node.debug(dbgmsg);
268
+ node.warn(dbgmsg);
269
269
  return;
270
270
  }
271
271
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamcymbeline/node-red-contrib-mcprotocol",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "description": "Node-RED nodes to read from and write to MITSUBISHI PLCs over Ethernet using MC Protocol",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,4 +28,4 @@
28
28
  "url": "https://github.com/TeamCymbeline/node-red-contrib-mcprotocol/issues"
29
29
  },
30
30
  "homepage": "https://github.com/TeamCymbeline/node-red-contrib-mcprotocol#readme"
31
- }
31
+ }