Skip to content

Failed to bind should not panic #318

@rolznz

Description

@rolznz

If you run on a port that is already in use, the following will occur:

thread 'tokio-runtime-worker' panicked at src/lib.rs:513:45:
Failed to bind to listen address/port - is something else already listening on it?
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
signal: aborted (core dumped)

It would be nice instead to return an error message

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions