Commit 18623052 authored by Rich Trott's avatar Rich Trott
Browse files

quic: fix error message on invalid connection ID

If Buffer.from() throws, it does not return a value, so the error
message is always going to report `undefined`. Use the value passed to
Buffer.from() instead.

PR-URL: https://github.com/nodejs/node/pull/35026


Reviewed-By: default avatarJiawen Geng <technicalcute@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
parent f3b48465
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment