You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `net.Server` `.listen` callback is not a node-style callback that gets passed an error, it's a listener for the `listen` event.
To handle errors when `.listen`ing, one must listen for the `error` event, so update the code to do that and add a test to prevent regressions.
0 commit comments