chore: add exception information to log output when the plugin fails to start

pull/7291/head
guqing 2025-03-13 16:17:30 +08:00
parent 5743cee598
commit e64edc3610
1 changed files with 1 additions and 0 deletions

View File

@ -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;