mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-22 16:30:51 +01:00
Add log message for packet discard
This commit is contained in:
parent
de39613091
commit
df3aabf518
@ -35,6 +35,7 @@ public class NitroPacketHandler extends PacketHandler {
|
||||
final Session localSession = session.getSession();
|
||||
|
||||
if (localSession == null) {
|
||||
logger.warn("Discarding {} bytes because the session for direction {} was null", buffer.length, this.direction);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user