minor fix
This commit is contained in:
parent
f528e3c760
commit
f6cb46b069
@ -263,7 +263,7 @@ class AlarmRuleState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var longValue = getLongValue(keyValue);
|
var longValue = getLongValue(keyValue);
|
||||||
if (longValue != null) {
|
if (longValue == null) {
|
||||||
String sourceAttribute = dynamicValue.getSourceAttribute();
|
String sourceAttribute = dynamicValue.getSourceAttribute();
|
||||||
throw new NumericParseException(String.format("could not parse attribute [%s: %s] from source!", sourceAttribute, getStrValue(keyValue)));
|
throw new NumericParseException(String.format("could not parse attribute [%s: %s] from source!", sourceAttribute, getStrValue(keyValue)));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user