query: dump invalid packet from master server

This commit is contained in:
Denis Drakhnia 2023-11-01 20:04:57 +02:00
parent 417254d32e
commit 44448da7a6

View File

@ -307,7 +307,11 @@ impl<'a> Scan<'a> {
set.extend(packet.iter()); set.extend(packet.iter());
} }
} else { } else {
eprintln!("warn: invalid packet from master {}", from); eprintln!(
"warn: invalid packet from master {}, raw \"{}\"",
from,
Str(&buf[..n])
);
} }
} }
} }