From 54237b2df7e6f54a5f060088bfd001ff63002a93 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 15 Mar 2022 12:12:19 +0100 Subject: [PATCH] debug msg --- serverCommunication/serverCommunication.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/serverCommunication/serverCommunication.go b/serverCommunication/serverCommunication.go index 4f21ae3..524c802 100644 --- a/serverCommunication/serverCommunication.go +++ b/serverCommunication/serverCommunication.go @@ -68,11 +68,14 @@ func handleSendQueueMessage(currentTime time.Time, webClient *structs.WebClient, if webClient != nil { if isVoice { + logger.WebVoice.Debugln("ackHandler -> send msg to voice client") err = webClient.SendBinaryMessage(webClient.VoiceConn, msg.MessageRaw) } else { + logger.WebMobile.Debugln("ackHandler -> send msg to mobile client") err = webClient.SendBinaryMessage(webClient.MobileConn, msg.MessageRaw) } } else { + logger.Minecraft.Debugln("ackHandler -> send msg to mc client", mcClient.Name) err = mcClient.SendBinaryMessage(msg.MessageRaw) }