diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/ConfigBase.java b/fe/fe-common/src/main/java/org/apache/doris/common/ConfigBase.java index 3306f314f7da75..21bd84ebd72ff0 100644 --- a/fe/fe-common/src/main/java/org/apache/doris/common/ConfigBase.java +++ b/fe/fe-common/src/main/java/org/apache/doris/common/ConfigBase.java @@ -224,7 +224,12 @@ private static void setFields(Properties props, boolean isLdapConfig) throws Exc continue; } - setConfigField(f, confVal); + try { + setConfigField(f, confVal); + } catch (Exception e) { + String msg = String.format("Failed to set config, name: %s, value: %s", f.getName(), confVal); + throw new IllegalArgumentException(msg, e); + } } }