Removed print statement in simple string encoding function

This commit is contained in:
Kelvin Clement Mwinuka
2023-07-01 22:42:53 +08:00
parent deda504ff0
commit b1fec4a0de
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,6 @@ func (server *Server) handleConnection(conn net.Conn) {
if cmd, err := serialization.Decode(message); err != nil {
// Return error to client
serialization.Encode(connRW, fmt.Sprintf("Error %s", err.Error()))
fmt.Println("Server: ", err)
continue
} else {
// Return encoded message to client