Browse Source

fixed logging issue in Device profile node

pull/7238/head
ShvaykaD 4 years ago
parent
commit
dbe7a2b914
  1. 4
      rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/profile/TbDeviceProfileNode.java

4
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/profile/TbDeviceProfileNode.java

@ -215,8 +215,8 @@ public class TbDeviceProfileNode implements TbNode {
if (!currentProfileId.equals(device.getDeviceProfileId())) {
removeDeviceState(deviceId);
}
} catch (IllegalArgumentException ex) {
log.trace("[{}] Received device update notification with non-device msg body: [{}][{}]", ctx.getSelfId(), deviceId, ex.getMessage());
} catch (IllegalArgumentException e) {
log.debug("[{}] Received device update notification with non-device msg body: [{}][{}]", ctx.getSelfId(), deviceId, e);
}
}
}

Loading…
Cancel
Save