Unverified Commit 9969e161 authored by gaoyan's avatar gaoyan Committed by GitHub

[Fix]Fix Dinky failed to start due to Resource configuration errors (#3039)

parent eecf7257
...@@ -130,7 +130,11 @@ public class SystemInit implements ApplicationRunner { ...@@ -130,7 +130,11 @@ public class SystemInit implements ApplicationRunner {
.forEach(x -> x.addParameterCheck(y -> { .forEach(x -> x.addParameterCheck(y -> {
if (Boolean.TRUE.equals( if (Boolean.TRUE.equals(
systemConfiguration.getResourcesEnable().getValue())) { systemConfiguration.getResourcesEnable().getValue())) {
try {
BaseResourceManager.initResourceManager(); BaseResourceManager.initResourceManager();
} catch (Exception e) {
log.error("Init resource error: ", e);
}
} }
})); }));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment