mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
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…
x
Reference in New Issue
Block a user