rpc: always log goodbye

This commit is contained in:
Christian Schwarz 2017-08-09 21:03:12 +02:00
parent 676ac41677
commit 44b77a8ef9

View File

@ -166,9 +166,7 @@ func (c ByteStreamRPC) serverLoop(handler RPCHandler) error {
return conn.Close()
}
if rq.Goodbye != "" {
log.Printf("close request with goodbye: %s", rq.Goodbye)
}
log.Printf("close request with goodbye: %s", rq.Goodbye)
send(&ResponseHeader{
RequestId: header.Id,