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));
|
""".formatted(pluginName, pluginState));
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
log.debug("Error occurred when starting plugin {}", pluginName, e);
|
||||||
conditions.addAndEvictFIFO(Condition.builder()
|
conditions.addAndEvictFIFO(Condition.builder()
|
||||||
.type(ConditionType.READY)
|
.type(ConditionType.READY)
|
||||||
.status(ConditionStatus.FALSE)
|
.status(ConditionStatus.FALSE)
|
||||||
|
|
|
@ -52,7 +52,6 @@ public class SpringPlugin extends Plugin {
|
||||||
log.error(
|
log.error(
|
||||||
"Cleaning up plugin resources for plugin {} due to not being able to start plugin.",
|
"Cleaning up plugin resources for plugin {} due to not being able to start plugin.",
|
||||||
pluginId);
|
pluginId);
|
||||||
log.debug("Error occurred when starting plugin {}", pluginId, t);
|
|
||||||
this.stop();
|
this.stop();
|
||||||
// propagate exception to invoker.
|
// propagate exception to invoker.
|
||||||
throw t;
|
throw t;
|
||||||
|
|
Loading…
Reference in New Issue