Browse Source

update 添加异常日志 限制

dev
lucas 1 month ago
parent
commit
f0b4109b05
  1. 2
      consumers/consumerAXYraw.go

2
consumers/consumerAXYraw.go

@ -163,9 +163,11 @@ func (the *consumerAXYraw) onData(topic string, msg string) bool {
} else {
s, _ := json.Marshal(needPush)
if needPush != nil {
if needPush.IotaDevice == logTagDeviceId {
log.Printf("onData 设备[%s] 异常needPush= %s", needPush.IotaDevice, s)
}
}
}
return true
}

Loading…
Cancel
Save