Skip to content

Commit

Permalink
fix(日志): 调整上报未知点位数据日志级别为 WARN
Browse files Browse the repository at this point in the history
  • Loading branch information
xcocx committed Jun 5, 2024
1 parent 10cf411 commit 8d26100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driverbox/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func pointValueProcess(deviceData *plugin.DeviceData) error {
for i, p := range deviceData.Values {
point, ok := CoreCache.GetPointByDevice(deviceData.ID, p.PointName)
if !ok {
Logger.Error("unknown point", zap.Any("deviceId", deviceData.ID), zap.Any("pointName", p.PointName))
Logger.Warn("unknown point", zap.Any("deviceId", deviceData.ID), zap.Any("pointName", p.PointName))
continue
}
//点位值类型还原
Expand Down

0 comments on commit 8d26100

Please sign in to comment.