Browse Source

update AppLifecycle

reghao 1 year ago
parent
commit
c3b4fec52c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      web/src/main/java/cn/reghao/devops/web/config/AppLifecycle.java

+ 2 - 1
web/src/main/java/cn/reghao/devops/web/config/AppLifecycle.java

@@ -78,7 +78,8 @@ public class AppLifecycle implements ApplicationRunner, DisposableBean {
             try {
                 buildDirService.init(baseDir);
             } catch (Exception e) {
-                log.error("初始化本地构建目录失败: {},devops-web 结束运行", e.getMessage());
+                log.error("初始化本地构建目录失败,devops-web 结束运行");
+                e.printStackTrace();
                 System.exit(1);
             }
         }