feat: 插件路径缺失错误日志提醒

This commit is contained in:
fit2cloud-chenyw 2021-06-04 09:35:35 +08:00
parent fc4bb32331
commit 2d1b646a07

View File

@ -45,7 +45,7 @@ public class PluginRunner implements ApplicationRunner {
if (jarFile.exists()) { if (jarFile.exists()) {
pluginService.loadJar(jarPath, plugin); pluginService.loadJar(jarPath, plugin);
}else { }else {
LogUtil.error("插件错误"); LogUtil.error("插件路径不存在 {} ", jarPath);
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();