删除mqtt on message的debug日志
This commit is contained in:
parent
7dbd032eb8
commit
ddec8b9f77
@ -5458,7 +5458,6 @@ class MqttMsgClient extends MessageClient {
|
|||||||
this.emit('error', error);
|
this.emit('error', error);
|
||||||
});
|
});
|
||||||
this.cli.on('message', (topic, message) => {
|
this.cli.on('message', (topic, message) => {
|
||||||
console.debug('MQTT 收到消息', topic, message);
|
|
||||||
const handle = this.subMsgHandler.get(topic);
|
const handle = this.subMsgHandler.get(topic);
|
||||||
if (handle) {
|
if (handle) {
|
||||||
if (this.options.protocol === 'json') {
|
if (this.options.protocol === 'json') {
|
||||||
|
@ -52,7 +52,6 @@ export class MqttMsgClient extends MessageClient {
|
|||||||
this.emit('error', error);
|
this.emit('error', error);
|
||||||
});
|
});
|
||||||
this.cli.on('message', (topic, message) => {
|
this.cli.on('message', (topic, message) => {
|
||||||
console.debug('MQTT 收到消息', topic, message);
|
|
||||||
const handle = this.subMsgHandler.get(topic);
|
const handle = this.subMsgHandler.get(topic);
|
||||||
if (handle) {
|
if (handle) {
|
||||||
if (this.options.protocol === 'json') {
|
if (this.options.protocol === 'json') {
|
||||||
|
Loading…
Reference in New Issue
Block a user