diff --git a/lib/protocol.js b/lib/protocol.js index e91df4a..0ef63ff 100644 --- a/lib/protocol.js +++ b/lib/protocol.js @@ -1239,7 +1239,7 @@ function parsePacket(buffer, isServer) { var packetInfo = get(packetId, isServer); if (packetInfo == null) { return { - error: new Error("Unrecognized packetId: " + packetId) + error: new Error("Unrecognized packetId: " + packetId + " (0x" + packetId.toString(16) + ")") } } var i, fieldInfo, read, readResults;