Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Check if the Backend port is blocked #130

Open
@xeruf

Description

@xeruf
    this.backend = portfinder.getPortPromise({ port: 12000 })
      .then((port) => {
        return new Backend(port)
      })

This code assumes that port 12000 is open and doesn't even catch potential errors. If the port is blocked the GUI simply shows a whitescreen when trying to start a game without further information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected behaviourpriorityShould be immediately addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions