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(
|
||||
"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