@azteam/rabbitmq-async 1.0.136 → 1.0.137

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/rabbitmq-async",
3
- "version": "1.0.136",
3
+ "version": "1.0.137",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "engines": {
@@ -174,7 +174,7 @@ class RabbitMQAsync {
174
174
  reject(err);
175
175
  }
176
176
  } else {
177
- throw new Error('msg null');
177
+ reject(new Error('msg null'));
178
178
  }
179
179
  });
180
180
  });