diff --git a/cmd/gq-server/gq-server.go b/cmd/gq-server/gq-server.go index 4ae5e85..aea2551 100755 --- a/cmd/gq-server/gq-server.go +++ b/cmd/gq-server/gq-server.go @@ -140,7 +140,7 @@ func dispatchConnection(conn net.Conn, sta *gqserver.State) { for c := 0; c < 2; c++ { _, err = gqserver.ReadTillDrain(conn) if err != nil { - log.Printf("Reading discarded message: %v\n", err) + log.Printf("Reading discarded message %v: %v\n", c, err) go conn.Close() return }