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

feature: better Address in use error message. #6397

Merged
merged 1 commit into from
Feb 5, 2024
Merged

feature: better Address in use error message. #6397

merged 1 commit into from
Feb 5, 2024

Conversation

vcshih
Copy link
Contributor

@vcshih vcshih commented Feb 4, 2024

Resolves: #6053

Extends the error message so that the relevant port cli options are also listed with the error message so that it can be more easily resolved. I added a function to the ServerKind and ServiceKind enums to return the relevant cli flags for each conflict and added it to the error message.

Added Tests

Added two tests to confirm that the error message strings included the new text.

…i flags

lint

revert extra lint changes

revert extra lint changes

fix authrpc port cli flag
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

this is perfect, ty!

@mattsse mattsse added A-rpc Related to the RPC implementation A-observability Related to tracing, metrics, logs and other observability tools labels Feb 5, 2024
@mattsse mattsse added this pull request to the merge queue Feb 5, 2024
Merged via the queue into paradigmxyz:main with commit 35ab1b1 Feb 5, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-observability Related to tracing, metrics, logs and other observability tools A-rpc Related to the RPC implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better Address already in use error messages
2 participants