mm_os 3.2.5 → 3.2.7

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.
@@ -264,6 +264,7 @@ MQTT.prototype.receive = async function(push_topic, msg) {
264
264
  msg = JSON.parse(msg);
265
265
  } catch (error) {
266
266
  $.log.error("消息结构体不对", push_topic, error);
267
+ return
267
268
  }
268
269
  }
269
270
  var ret;
@@ -1,6 +1,5 @@
1
1
  const compressing = require('compressing');
2
2
  const Item = require('mm_machine').Item;
3
- const Log = require('./log.js');
4
3
  const conf = require('mm_config');
5
4
 
6
5
  /**
@@ -86,12 +85,6 @@ Drive.prototype.set_config = function(config) {
86
85
  * 插件初始化之后
87
86
  */
88
87
  Drive.prototype.set_config_after = function() {
89
- var file = this.filename;
90
- var filename = file.replace('app', 'log').replace($.slash + 'plugin', '').replace('json', 'log').replace($
91
- .slash + 'plugin.log', '.log');
92
- this.log = new Log({
93
- filename
94
- });
95
88
  var options = this.get_config_options();
96
89
  this.options = this.merge_options(options);
97
90
  this.backup_options();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "3.2.5",
3
+ "version": "3.2.7",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {