From 3ed3e311f7bd5a3556848104cc19346e37df1073 Mon Sep 17 00:00:00 2001 From: Beric Bearnson <37596980+bericyb@users.noreply.github.com> Date: Thu, 24 Oct 2024 21:42:46 -0600 Subject: [PATCH] more error fix? --- cmd/server/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index bd710e9..e7e54f9 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -57,9 +57,10 @@ func LobbyListen() { go func() { client, msgOut, err := l.InitialConnectionHandler(conn) if err != nil { + fmt.Println("what?") conn.Write(msgOut) } else { - fmt.Println("new client", client) + fmt.Println("new client", client, err) _, err = conn.Write(msgOut) if err != nil { slog.Debug("error writing to new player... disconnecting")