mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>