Skip to content

Commit 5a76c42

Browse files
committed
add debug log
1 parent c98dd57 commit 5a76c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

failover_rtu_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ func (c *FailoverRTUClient) Serve(handler ProtocolHandler) error {
103103
if last.Len() != 0 {
104104
atomic.AddInt64(&c.com.Stats().OtherDrops, 1)
105105
}
106+
debugf("failover client serve set last: %x", pdu)
106107
last.Reset()
107108
last.Write(pdu)
108109
return

0 commit comments

Comments
 (0)