Skip to content

Fix panics when failing to bind a port #9884

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jprochazk
Copy link
Member

Using anyhow, because these errors are not inspectable anyway

@jprochazk jprochazk added the exclude from changelog PRs with this won't show up in CHANGELOG.md label May 5, 2025
@jprochazk jprochazk added this to the 0.23.2 milestone May 5, 2025
Copy link

github-actions bot commented May 5, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
252afb4 https://rerun.io/viewer/pr/9884 +nightly +main

Note: This comment is updated whenever you push a commit.

@emilk emilk changed the title Propagate re_grpc_server TCP error Fix panics when failing to bind a port May 6, 2025
Copy link
Member

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ We should never have panic/unwrap/expect in our code (outside of tests): https://github.com/rerun-io/rerun/blob/main/CODE_STYLE.md#avoid-unwrap-expect-etc

Crashes are to be avoided at all costs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

More gracefully fail when grpc server binding fails
2 participants