Procházet zdrojové kódy

update message-service

reghao před 2 měsíci
rodič
revize
5991d0a00c

+ 1 - 1
message/message-service/src/main/java/cn/reghao/tnb/message/app/config/SpringLifecycle.java

@@ -35,7 +35,7 @@ public class SpringLifecycle implements ApplicationRunner, DisposableBean {
         // 通过环境变量 SERVER_ADDRESS=192.168.0.10 指定
         String serverAddress = System.getenv("SERVER_ADDRESS");
         if (!ipv4AddressSet.contains(serverAddress)) {
-            log.error("没有通过环境变量 SERVER_ADDRESS 指定地址, 或是指定的地址不是机器地址, 结束 MessageService 进程...");
+            log.error("没有通过环境变量 SERVER_ADDRESS 指定地址, 或是指定的地址不是机器地址 {}, 结束 MessageService 进程...", ipv4AddressSet);
             System.exit(SpringApplication.exit(applicationContext));
         }