diff --git a/query/src/main.rs b/query/src/main.rs index 4f5e53e..fa8fcde 100644 --- a/query/src/main.rs +++ b/query/src/main.rs @@ -307,7 +307,11 @@ impl<'a> Scan<'a> { set.extend(packet.iter()); } } else { - eprintln!("warn: invalid packet from master {}", from); + eprintln!( + "warn: invalid packet from master {}, raw \"{}\"", + from, + Str(&buf[..n]) + ); } } }