@5minds/node-red-contrib-processcube 1.5.1-develop-7901c3-m2ed18yb → 1.5.1-develop-996427-m2epolnh

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ module.exports = function (RED) {
23
23
  }
24
24
 
25
25
  const error = new Error(msgError.message);
26
- error.errorCode = config.error;
26
+ error.errorCode = config.error || {};
27
27
  error.errorDetails = RED.util.encodeObject(msg);
28
28
 
29
29
  msg.errorCode = config.error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.5.1-develop-7901c3-m2ed18yb",
3
+ "version": "1.5.1-develop-996427-m2epolnh",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {