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

Improve the error message when all configured hubs failed to connect. #189

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

Conversation

VasilisThePikachu
Copy link
Member

@VasilisThePikachu VasilisThePikachu commented Nov 3, 2024

I found the "partial error" message to basicly only be useful if you actually have multiple hubs setup. Else it's just confusing to the end player... what is a server hub configuration?

Instead, if we get ZERO servers from any of the hubs, we return the regular error. If we get partial results from some hubs, we can use the partial error like before.

Even if you only have one hub and somehow connected sucessfully... something must have gone wrong if NO servers are on the hub, before this would just show... no error. Now the user gets feedback something is wrong.

Slightly improves the error message to suggest a solution and for this change.

I found the "partial error" message to basicly only be useful if you *actually* have multiple hubs setup. Else it's just confusing to the end player... what is a server hub configuration?

Instead, if we get ZERO servers from any of the hubs, we return the regular error. If we get partial results from some hubs, we can use the partial error like before.

Slightly improves the error message to suggest a solution and for this change.
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.

1 participant