Silence debug message, and make it much more useful

This commit is contained in:
roblabla 2015-04-10 21:45:03 +00:00
parent 26e6a38813
commit 37e2f10cd7

View File

@ -1592,7 +1592,7 @@ function parsePacketData(buffer, state, isServer, packetsToParse) {
cursor += readResults.size; cursor += readResults.size;
} }
if (buffer.length > cursor) if (buffer.length > cursor)
console.log("DID NOT PARSE THE WHOLE THING!"); debug("Too much data to read for packetId: " + packetId + " (0x" + packetId.toString(16) + ")");
debug(results); debug(results);
return { return {
results: results, results: results,