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

[feat]: More precise handling of errors when verifying connectivity #242

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

Conversation

transistive
Copy link
Collaborator

Currently, when we verify a connection, we catch any runtime exception.

This has led to confusing error handling, especially in more complex situations @exaby73 @AkshatSW.

When the connection can't be verified, we actually just want to check if we can reach the server. If any other error (e.g., Authentication errors) appears, we shouldn't handle it and let it bubble up so the end user is aware the connection is valid but some other client error happened.

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.

2 participants