mirror of https://github.com/halo-dev/halo
fix: code style
parent
e64edc3610
commit
60c20090ac
|
@ -310,6 +310,7 @@ public class PluginReconciler implements Reconciler<Request> {
|
|||
""".formatted(pluginName, pluginState));
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
log.debug("Error occurred when starting plugin {}", pluginName, e);
|
||||
conditions.addAndEvictFIFO(Condition.builder()
|
||||
.type(ConditionType.READY)
|
||||
.status(ConditionStatus.FALSE)
|
||||
|
|
|
@ -52,7 +52,6 @@ public class SpringPlugin extends Plugin {
|
|||
log.error(
|
||||
"Cleaning up plugin resources for plugin {} due to not being able to start plugin.",
|
||||
pluginId);
|
||||
log.debug("Error occurred when starting plugin {}", pluginId, t);
|
||||
this.stop();
|
||||
// propagate exception to invoker.
|
||||
throw t;
|
||||
|
|
Loading…
Reference in New Issue