mm_os 3.2.2 → 3.2.3

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.
@@ -262,7 +262,9 @@ MQTT.prototype.receive = async function(push_topic, msg) {
262
262
  if (msg && (msg.indexOf('[') === 0) || msg.indexOf('{') === 0) {
263
263
  try {
264
264
  msg = JSON.parse(msg);
265
- } catch {}
265
+ } catch (error) {
266
+ $.log.error("消息结构体不对", error);
267
+ }
266
268
  }
267
269
  var ret;
268
270
  var list = this.list;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {