better unsupported message code error message
This commit is contained in:
parent
c5b1d95ca0
commit
7c9de7f442
@ -70,7 +70,7 @@ p.parse = function() {
|
||||
case UTF8.S:
|
||||
return this.parseS();
|
||||
default:
|
||||
throw new Error("Unsupported message ID: " + Buffer([messageID]).toString('utf8'));
|
||||
throw new Error("Unsupported message ID: " + Buffer([messageID]).toString('utf8') + " (" + messageID.toString(16) + ")");
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user