100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Better logging for conflicts in attributes
Michael Rademakeraa69fd101a03
diff --git a/model/src/main/java/org/openremote/model/asset/AssetAttribute.java b/model/src/main/java/org/openremote/model/asset/AssetAttribute.javaindex 35302fd24..753cc1178 100644--- a/model/src/main/java/org/openremote/model/asset/AssetAttribute.java+++ b/model/src/main/java/org/openremote/model/asset/AssetAttribute.java@@ -85,7 +85,7 @@ public class AssetAttribute extends Attribute {super(name, attributeDescriptor.getValueDescriptor(), value);if (value != null) {if (value.getType() != attributeDescriptor.getValueDescriptor().getValueType()) {- throw new IllegalArgumentException("Provided value type is not compatible with this attribute type");+ throw new IllegalArgumentException("Provided value type is not compatible with this attribute type for: " + attributeDescriptor.getAttributeName());}}setValue(value, timestamp);