Skip to content

Commit

Permalink
It was intended to show the message number
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw authored Mar 19, 2018
1 parent 1e16e9c commit ad576d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gq-server/gq-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ad576d2

Please sign in to comment.