@@ -76,7 +76,7 @@ public <T> T get(ConfigKey key) {
7676 try {
7777 return ((Config <T >) getConfig (key )).get ();
7878 } catch (Throwable e ) {
79- DongTaiLog .error (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
79+ DongTaiLog .warn (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
8080 return null ;
8181 }
8282 }
@@ -90,7 +90,7 @@ private void updateBool(JSONObject config, ConfigKey.JsonKey jsonKey) {
9090 conf .setValue (value );
9191 }
9292 } catch (Throwable e ) {
93- DongTaiLog .error (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
93+ DongTaiLog .warn (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
9494 }
9595 }
9696
@@ -103,7 +103,7 @@ private void updateInt(JSONObject config, ConfigKey.JsonKey jsonKey) {
103103 conf .setValue (value );
104104 }
105105 } catch (Throwable e ) {
106- DongTaiLog .error (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
106+ DongTaiLog .warn (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
107107 }
108108 }
109109
@@ -118,7 +118,7 @@ private void updateString(JSONObject config, ConfigKey.JsonKey jsonKey) {
118118 }
119119 }
120120 } catch (Throwable e ) {
121- DongTaiLog .error (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
121+ DongTaiLog .warn (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
122122 }
123123 }
124124
@@ -133,7 +133,7 @@ private void updateRequestDenyList(JSONObject config) {
133133 conf .setValue (requestDenyList );
134134 }
135135 } catch (Throwable e ) {
136- DongTaiLog .error (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
136+ DongTaiLog .warn (ErrorCode .UTIL_CONFIG_LOAD_FAILED ,e .getMessage ());
137137 }
138138 }
139139}
0 commit comments