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

Fix panic on binding to occupied port #371

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

taco-paco
Copy link
Contributor

Usage related changes

Explicit error if binding is failed.

Development related changes

Panic removed, hence ability to properly handle error.

Checklist:

  • Applied formatting - ./scripts/format.sh
  • No linter errors - ./scripts/clippy_check.sh
  • No unused dependencies - ./scripts/check_unused_deps.sh
  • Performed code self-review
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Documented the changes
  • Linked the issues which this PR resolves
  • Checked the TODO section in README.md if this PR resolves it
  • Updated the tests
  • All tests are passing - cargo test

@FabijanC FabijanC self-requested a review March 5, 2024 08:06
@taco-paco
Copy link
Contributor Author

@FabijanC thanks for approval. Just fyi can't merge PR since i don't have write access.

@FabijanC
Copy link
Contributor

FabijanC commented Mar 5, 2024

I was planning to merge this once other PRs (#329 and #353) are merged. But if they take too long, I'll merge this before.

@FabijanC FabijanC merged commit 37dc6e6 into 0xSpaceShard:main Mar 6, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants