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

Failed to bind should not panic #318

Open
rolznz opened this issue Jun 26, 2024 · 0 comments
Open

Failed to bind should not panic #318

rolznz opened this issue Jun 26, 2024 · 0 comments

Comments

@rolznz
Copy link

rolznz commented Jun 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant