mirror of https://github.com/halo-dev/halo
chore: add exception information to log output when the plugin fails to start
parent
5743cee598
commit
e64edc3610
|
@ -52,6 +52,7 @@ 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