Browse Source

Fix error msg

Bruce Marriner 8 năm trước cách đây
mục cha
commit
604872ed4b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      voice.go

+ 1 - 1
voice.go

@@ -614,7 +614,7 @@ func (v *VoiceConnection) udpKeepAlive(udpConn *net.UDPConn, close <-chan struct
 
 		_, err = udpConn.Write(packet)
 		if err != nil {
-			v.log(LogError, "write error, %s")
+			v.log(LogError, "write error, %s", err)
 			return
 		}