minor fix

This commit is contained in:
YevhenBondarenko 2022-01-20 12:09:43 +02:00
parent f528e3c760
commit f6cb46b069

View File

@ -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)));
} }