From 37e2f10cd7acd495e06bf3c10f77569218b32b6d Mon Sep 17 00:00:00 2001 From: roblabla Date: Fri, 10 Apr 2015 21:45:03 +0000 Subject: [PATCH] Silence debug message, and make it much more useful --- src/protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.js b/src/protocol.js index 5de8fe2..1172a14 100644 --- a/src/protocol.js +++ b/src/protocol.js @@ -1592,7 +1592,7 @@ function parsePacketData(buffer, state, isServer, packetsToParse) { cursor += readResults.size; } 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); return { results: results,