54: Do not throw an exception is no alarms are configured
This commit is contained in:
@@ -47,10 +47,6 @@ public final class AlarmConfigurationParser {
|
||||
}
|
||||
}
|
||||
|
||||
if (alarms.isEmpty()) {
|
||||
throw new IllegalArgumentException("No alarms found in " + path);
|
||||
}
|
||||
|
||||
return new AlarmConfiguration(alarms, constants);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user