* re-throwing a ByteBufferException is not a good idea...
This commit is contained in:
parent
758d471122
commit
529bf4742d
@ -196,7 +196,10 @@ void WorldSession::HandleWorldPacket(WorldPacket *packet)
|
|||||||
logerror("WorldSession: ByteBufferException");
|
logerror("WorldSession: ByteBufferException");
|
||||||
logerror("ByteBuffer reported: attempt to \"%s\" %u bytes at position %u out of total %u bytes. (wpos=%u)",
|
logerror("ByteBuffer reported: attempt to \"%s\" %u bytes at position %u out of total %u bytes. (wpos=%u)",
|
||||||
bbe.action, bbe.readsize, bbe.rpos, bbe.cursize, bbe.wpos);
|
bbe.action, bbe.readsize, bbe.rpos, bbe.cursize, bbe.wpos);
|
||||||
throw;
|
// copied from below
|
||||||
|
logerror("Data: pktsize=%u, handler=0x%X queuesize=%u",packet->size(),table[hpos].handler,pktQueue.size());
|
||||||
|
logerror("Packet Hexdump:");
|
||||||
|
logerror("%s",toHexDump((uint8*)packet->contents(),packet->size(),true).c_str());
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user