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] Display better error messages when checking Retool version #32

Conversation

ph-ph
Copy link
Contributor

@ph-ph ph-ph commented Sep 5, 2024

Description

We check Retool version when initializing provider. Unfortunately, the way the version check function is implemented, we produce "incompatible version" error message even when we fail to connect to Retool or parse its healthcheck response, which is confusing for our users .

This change updates the code to produce meaningful error messages on connection errors and failure to parse the response.

Tests

Verified that the version check still works as expected and produces meaningful error messages when it can't connect to Retool.

@ph-ph ph-ph requested a review from a team September 5, 2024 22:47
@ph-ph ph-ph merged commit 89e3728 into main Sep 5, 2024
3 checks passed
@ph-ph ph-ph deleted the dzmitry/gov-3834-better-error-message-when-version-check-fails-with branch September 5, 2024 22:53
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