@5minds/node-red-contrib-processcube-amqp 0.6.0 → 0.7.0

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/amqp-config.js CHANGED
@@ -4,6 +4,7 @@ module.exports = function(RED) {
4
4
  function AMQPServerNode(n) {
5
5
  RED.nodes.createNode(this,n);
6
6
  this.connectionString = n.connectionString;
7
+ const node = this;
7
8
 
8
9
  this.connection = new AMQPConnection(this.connectionString);
9
10
  this.connection.connect();
@@ -52,6 +52,7 @@ module.exports = function(connectionString) {
52
52
  try {
53
53
  return await amqplib.connect(connectionString);
54
54
  } catch (e) {
55
+ console.log(e);
55
56
  await sleep(500);
56
57
  }
57
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube-amqp",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for AMQP",
6
6
  "authors": [