Browse Source

提示修改

jwk 2 years ago
parent
commit
d1a031aa01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jwk/spring/boot/modbus4j/ModbusTcpMaster.java

+ 1 - 1
src/main/java/com/jwk/spring/boot/modbus4j/ModbusTcpMaster.java

@@ -72,7 +72,7 @@ public class ModbusTcpMaster {
                 log.error("ModbusTcp:{}:{},连接成功!", getHost(), getPort());
                 break;
             } catch (Exception e) {
-                log.error("当前地址:{}:{},连接失败!", getHost(), getPort(), e);
+                log.error("ModbusTcp:{}:{},连接失败!", getHost(), getPort(), e);
                 try {
                     Thread.sleep(3000);
                 } catch (InterruptedException ee) {