Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

fix: handle listen error #224

Merged
merged 1 commit into from
Nov 5, 2022
Merged

fix: handle listen error #224

merged 1 commit into from
Nov 5, 2022

Commits on Nov 5, 2022

  1. fix: handle listen error

    The `net.Server` `.listen` callback is not a node-style callback,
    it's a listener for the `listen` event.
    
    To handle `listen` errors, one must listen for the `error` event,
    so update the code to do that and add a test to prevent regressions.
    achingbrain committed Nov 5, 2022
    Configuration menu
    Copy the full SHA
    da7837f View commit details
    Browse the repository at this point in the history