Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quic: fix error message on invalid connection ID #35026

Merged
merged 1 commit into from Sep 5, 2020
Merged

Commits on Sep 5, 2020

  1. 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: nodejs#35026
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Sep 5, 2020
    Copy the full SHA
    1862305 View commit details
    Browse the repository at this point in the history