#2464: Improve information about missing packet IDs
This commit is contained in:
@@ -461,7 +461,7 @@ public enum Protocol
|
||||
{
|
||||
throw new BadPacketException( "Unsupported protocol version" );
|
||||
}
|
||||
Preconditions.checkArgument( protocolData.packetMap.containsKey( packet ), "Cannot get ID for packet " + packet );
|
||||
Preconditions.checkArgument( protocolData.packetMap.containsKey( packet ), "Cannot get ID for packet %s in phase %s with direction %s", packet, protocolPhase, direction );
|
||||
|
||||
return protocolData.packetMap.get( packet );
|
||||
}
|
||||
|
Reference in New Issue
Block a user