#2464: Improve information about missing packet IDs
This commit is contained in:
parent
5cdb181cc5
commit
0a95af5dc1
@ -461,7 +461,7 @@ public enum Protocol
|
|||||||
{
|
{
|
||||||
throw new BadPacketException( "Unsupported protocol version" );
|
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 );
|
return protocolData.packetMap.get( packet );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user