diff --git a/knotx-core/src/main/java/io/knotx/launcher/SystemPropsConfiguration.java b/knotx-core/src/main/java/io/knotx/launcher/SystemPropsConfiguration.java index 35788326..c44accfc 100644 --- a/knotx-core/src/main/java/io/knotx/launcher/SystemPropsConfiguration.java +++ b/knotx-core/src/main/java/io/knotx/launcher/SystemPropsConfiguration.java @@ -85,7 +85,7 @@ public JsonObject updateJsonObject(JsonObject descriptor) { if (element.containsKey(path[idx])) { element = element.getJsonObject(path[idx]); } else { - throw new ConfigurationException( + throw new IllegalArgumentException ( "Wrong config override. There is no matching element " + entry.getKey() + " in the configuration"); }